void BackgroundGenerator::update()

Temps: 2, 5, 7, 8, 9, 11, 16, 19, 21, 23, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45

Variables: 
 001: uint gi
 003: uint i
 006: float xRange
 010: float zRange
 013: (heap) Box objSize
 025: (heap) GameObject obj
 010: uint i
 000: BackgroundGenerator this
 005: (heap) Array {noname}
 021: (heap) Vector3 {noname}
 023: (heap) Vector3 {noname}
 027: (heap) Array {noname}
 029: (heap) Array {noname}
 031: (heap) Array {noname}
 033: (heap) Box {noname}
 035: (heap) BackgroundGenerator {noname}
 037: (heap) GameObject {noname}
 039: (heap) Scene {noname}
 041: (heap) Array {noname}
 043: (heap) Array {noname}
 045: (heap) GameObject {noname}
 016: Vector3 {noname}
 019: Vector3 {noname}


- 56,8 -
    0  45 *    SUSPEND
    1  45 *    VarDecl  0
    1  45 *    SetV4    v1, 0x0          (i:0, f:0)
    3  45 *    JMP      +491              (d:496)
    5  45 * 4:
    5  45 *    SUSPEND
- 57,9 -
    6  45 * {
    6  45 *    SUSPEND
    7  45 *    VarDecl  1
    7  45 *    PshV4    v1
    8  46 *    PshVPtr  v0
    9  48 *    ADDSi    v72, 134217952
   11  48 *    RDSPtr
   12  48 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
   15  48 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
   17  45 *    PshRPtr
   18  47 *    CALLSYS  131           (uint Array::length() const)
   20  45 *    CpyRtoV4 v2
   21  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
   24  45 *    CpyVtoV4 v3, v2
   26  45 *    JMP      +270              (d:298)
   28  45 * 8:
   28  45 *    SUSPEND
- 58,5 -
   29  45 * {
   29  45 *    SUSPEND
   30  45 *    VarDecl  2
   30  45 *    PshVPtr  v0
   31  47 *    ADDSi    v96, 134217952
   33  47 *    RDSPtr
   34  47 *    ADDSi    v32, 134217938
   36  47 *    ADDSi    v0, 67108879
   38  47 *    PopRPtr
   39  45 *    RDR4     v2
   40  45 *    MULIf    v2, v2, -1.000000
   43  45 *    PshVPtr  v0
   44  47 *    ADDSi    v96, 134217952
   46  47 *    RDSPtr
   47  47 *    ADDSi    v44, 134217938
   49  47 *    ADDSi    v0, 67108879
   51  47 *    PopRPtr
   52  45 *    RDR4     v8
   53  45 *    ADDf     v7, v2, v8
   55  45 *    SetV4    v9, 0x40000000          (i:1073741824, f:2)
   57  45 *    DIVf     v6, v7, v9
- 59,5 -
   59  45 *    SUSPEND
   60  45 *    VarDecl  3
   60  45 *    PshVPtr  v0
   61  47 *    ADDSi    v96, 134217952
   63  47 *    RDSPtr
   64  47 *    ADDSi    v32, 134217938
   66  47 *    ADDSi    v8, 67108879
   68  47 *    PopRPtr
   69  45 *    RDR4     v9
   70  45 *    MULIf    v7, v9, -1.000000
   73  45 *    PshVPtr  v0
   74  47 *    ADDSi    v96, 134217952
   76  47 *    RDSPtr
   77  47 *    ADDSi    v44, 134217938
   79  47 *    ADDSi    v8, 67108879
   81  47 *    PopRPtr
   82  45 *    RDR4     v2
   83  45 *    ADDf     v8, v7, v2
   85  45 *    SetV4    v11, 0x40000000          (i:1073741824, f:2)
   87  45 *    DIVf     v10, v8, v11
- 60,5 -
   89  45 *    SUSPEND
   90  45 *    VarDecl  4
   90  45 *    PSF      v21
   91  47 *    PshV4    v10
   92  48 *    PshVPtr  v0
   93  50 *    ADDSi    v96, 134217952
   95  50 *    RDSPtr
   96  50 *    ADDSi    v44, 134217938
   98  50 *    ADDSi    v4, 67108879
  100  50 *    PopRPtr
  101  48 *    RDR4     v11
  102  48 *    SetV4    v2, 0x40000000          (i:1073741824, f:2)
  104  48 *    DIVf     v8, v11, v2
  106  48 *    SUBIf    v2, v8, 1.000000
  109  48 *    PshV4    v2
  110  49 *    PshV4    v6
  111  50 *    PSF      v16
  112  52 *    CALLSYS  185           (Vector3::Vector3(float, float, float))
  114  47 *    ObjInfo  v16, 1
  114  47 *    PSF      v16
  115  49 *    ALLOC    0x487f30, 184             (type:Vector3)
  119  45 *    ObjInfo  v16, 0
  119  45 *    VAR      v21
  120  47 *    PSF      v23
  121  49 *    CpyVtoV4 v9, v10
  123  49 *    NEGf     v9
  124  49 *    PshV4    v9
  125  50 *    PshVPtr  v0
  126  52 *    ADDSi    v96, 134217952
  128  52 *    RDSPtr
  129  52 *    ADDSi    v32, 134217938
  131  52 *    ADDSi    v4, 67108879
  133  52 *    PopRPtr
  134  50 *    RDR4     v2
  135  50 *    SetV4    v8, 0x40000000          (i:1073741824, f:2)
  137  50 *    DIVf     v7, v2, v8
  139  50 *    SUBIf    v8, v7, 1.000000
  142  50 *    PshV4    v8
  143  51 *    CpyVtoV4 v11, v6
  145  51 *    NEGf     v11
  146  51 *    PshV4    v11
  147  52 *    PSF      v19
  148  54 *    CALLSYS  185           (Vector3::Vector3(float, float, float))
  150  49 *    ObjInfo  v19, 1
  150  49 *    PSF      v19
  151  51 *    ALLOC    0x487f30, 184             (type:Vector3)
  155  47 *    ObjInfo  v19, 0
  155  47 *    VAR      v23
  156  49 *    GETOBJ   0
  157  49 *    GETOBJ   2
  158  49 *    CALL     4078           (Box@ Box(Vector3, Vector3))
  160  45 *    STOREOBJ v13
- 61,5 -
  161  45 *    SUSPEND
  162  45 *    VarDecl  5
  162  45 *    CALL     4028           (GameObject@ GameObject())
  164  45 *    STOREOBJ v25
  165  45 *    PshV4    v1
  166  46 *    PshVPtr  v0
  167  48 *    ADDSi    v48, 134217952
  169  48 *    RDSPtr
  170  48 *    RefCpyV  v27, 0x2d61b00          (i:47586048, f:2.35106e-316)
  173  48 *    CALLSYS  4558           (Object@[]& Array::opIndex(uint))
  175  45 *    PshRPtr
  176  47 *    RefCpyV  v31, 0x2cf8f10          (i:47157008, f:2.32987e-316)
  179  47 *    PopPtr
  180  45 *    FREE     v27, 0x2d61b00          (i:47586048, f:2.35106e-316)
  183  45 *    VAR      v31
  184  47 *    CALL     4080           (Box@ Box())
  186  47 *    STOREOBJ v33
  187  47 *    PshVPtr  v13
  188  49 *    CHKREF
  189  49 *    PshVPtr  v33
  190  51 *    CALLSYS  4           (int& _builtin_object_::opAssign(int&in))
  192  47 *    VAR      v33
  193  49 *    PshV4    v1
  194  50 *    PshVPtr  v0
  195  52 *    ADDSi    v108, 134217952
  197  52 *    RDSPtr
  198  52 *    RefCpyV  v29, 0x2cf3100          (i:47132928, f:2.32868e-316)
  201  52 *    CALLSYS  4249           (uint& Array::opIndex(uint))
  203  49 *    RDR4     v7
  204  49 *    PshV4    v7
  205  50 *    PshGPtr  0x2d36e60          (i:47410784, f:2.3424e-316)
  208  52 *    GETOBJ   3
  209  52 *    GETOBJ   5
  210  52 *    RefCpyV  v35, 0x2c8d630          (i:46716464, f:2.3081e-316)
  213  52 *    CALLINTF 4550           (GameObject BackgroundGenerator::generate(uint, Box, Object@[]@))
  215  45 *    STOREOBJ v37
  216  45 *    FREE     v35, 0x2c8d630          (i:46716464, f:2.3081e-316)
  219  45 *    FREE     v29, 0x2cf3100          (i:47132928, f:2.32868e-316)
  222  45 *    PshVPtr  v37
  223  47 *    CHKREF
  224  47 *    PshVPtr  v25
  225  49 *    CALLSYS  4           (int& _builtin_object_::opAssign(int&in))
  227  45 *    PshRPtr
  228  47 *    FREE     v37, 0x2c81a70          (i:46668400, f:2.30573e-316)
  231  47 *    PopPtr
- 62,5 -
  232  45 *    SUSPEND
  233  45 *    VAR      v25
  234  47 *    PshV4    v1
  235  48 *    PshVPtr  v0
  236  50 *    ADDSi    v72, 134217952
  238  50 *    RDSPtr
  239  50 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  242  50 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  244  47 *    PshRPtr
  245  49 *    GETREF   2
  246  49 *    CALLSYS  4577           (void Array::add(GameObject@const&in))
  248  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
- 63,5 -
  251  45 *    SUSPEND
  252  45 *    PshVPtr  v0
  253  47 *    ADDSi    v32, 134217952
  255  47 *    RDSPtr
  256  47 *    RefCpyV  v39, 0x493b20          (i:4799264, f:2.37115e-317)
  259  47 *    PopPtr
  260  45 *    VAR      v39
  261  47 *    PshVPtr  v25
  262  49 *    GETOBJ   2
  263  49 *    CALLINTF 4456           (void Base::addToScene(Scene@))
- 64,5 -
  265  45 *    SUSPEND
  266  45 *    PSF      v23
  267  47 *    PshV4    v3
  268  48 *    PshVPtr  v0
  269  50 *    ADDSi    v80, 134217952
  271  50 *    RDSPtr
  272  50 *    RefCpyV  v41, 0x2d6dcc0          (i:47635648, f:2.35351e-316)
  275  50 *    CALLSYS  4606           (Vector3& Array::opIndex(uint))
  277  47 *    PshRPtr
  278  49 *    ALLOC    0x487f30, 184             (type:Vector3)
  282  45 *    FREE     v41, 0x2d6dcc0          (i:47635648, f:2.35351e-316)
  285  45 *    VAR      v23
  286  47 *    PshVPtr  v25
  287  49 *    GETOBJ   2
  288  49 *    CALLINTF 4705           (void GameObject::setPosition(Vector3))
  290  45 *    FREE     v25, 0x2c81a70          (i:46668400, f:2.30573e-316)
  293  45 *    FREE     v13, 0x2c82e10          (i:46673424, f:2.30597e-316)
- 57,49 -
  296  45 * }
  296  45 * 7:
  296  45 *    SUSPEND
  297  45 *    IncVi    v3
- 57,42 -
  298  45 * 5:
  298  45 *    SUSPEND
  299  45 *    CMPIu    v3, 2
  301  45 *    JS       -275              (d:28)
- 67,9 -
  303  45 * 6:
  303  45 *    SUSPEND
  304  45 *    VarDecl  6
  304  45 *    SetV4    v10, 0x0          (i:0, f:0)
  306  45 *    JMP      +164              (d:472)
  308  45 * 12:
  308  45 *    SUSPEND
- 68,5 -
  309  45 * {
  309  45 *    SUSPEND
  310  45 *    PSF      v21
  311  47 *    PshV4    v10
  312  48 *    PshV4    v1
  313  49 *    PshVPtr  v0
  314  51 *    ADDSi    v72, 134217952
  316  51 *    RDSPtr
  317  51 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  320  51 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  322  48 *    PshRPtr
  323  50 *    RefCpyV  v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  326  50 *    CALLSYS  4574           (GameObject@& Array::opIndex(uint))
  328  47 *    PshRPtr
  329  49 *    RDSPtr
  330  49 *    ADDSi    v32, 134217923
  332  49 *    ALLOC    0x487f30, 184             (type:Vector3)
  336  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  339  45 *    FREE     v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  342  45 *    VAR      v21
  343  47 *    PshVPtr  v0
  344  49 *    ADDSi    v96, 134217952
  346  49 *    RDSPtr
  347  49 *    GETOBJ   2
  348  49 *    RefCpyV  v33, 0x2c82e10          (i:46673424, f:2.30597e-316)
  351  49 *    CALLINTF 4466           (bool Box::containsPoint(Vector3))
  353  45 *    CpyRtoV4 v8
  354  45 *    FREE     v33, 0x2c82e10          (i:46673424, f:2.30597e-316)
  357  45 *    CpyVtoR4 v8
  358  45 *    JLowZ    +58              (d:418)
- 69,6 -
  360  45 * {
  360  45 *    SUSPEND
  361  45 *    PSF      v23
  362  47 *    PshC4    0x0          (i:0, f:0)
  364  48 *    LoadThisR v104, 134217952
  366  48 *    RDR4     v11
  367  48 *    MULIf    v9, v11, -1.000000
  370  48 *    PshV4    v9
  371  49 *    PshC4    0x0          (i:0, f:0)
  373  50 *    PSF      v16
  374  52 *    CALLSYS  185           (Vector3::Vector3(float, float, float))
  376  47 *    ObjInfo  v16, 1
  376  47 *    PSF      v16
  377  49 *    ALLOC    0x487f30, 184             (type:Vector3)
  381  45 *    ObjInfo  v16, 0
  381  45 *    VAR      v23
  382  47 *    PshV4    v10
  383  48 *    PshV4    v1
  384  49 *    PshVPtr  v0
  385  51 *    ADDSi    v72, 134217952
  387  51 *    RDSPtr
  388  51 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  391  51 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  393  48 *    PshRPtr
  394  50 *    RefCpyV  v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  397  50 *    CALLSYS  4574           (GameObject@& Array::opIndex(uint))
  399  47 *    PshRPtr
  400  49 *    RDSPtr
  401  49 *    GETOBJ   2
  402  49 *    RefCpyV  v45, 0x2c81a70          (i:46668400, f:2.30573e-316)
  405  49 *    CALLINTF 4697           (void GameObject::relTranslate(Vector3))
  407  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  410  45 *    FREE     v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  413  45 *    FREE     v45, 0x2c81a70          (i:46668400, f:2.30573e-316)
  416  45 * }
  416  45 *    JMP      +52              (d:470)
- 71,6 -
  418  45 * 13:
  418  45 * {
  418  45 *    SUSPEND
  419  45 *    PshV4    v10
  420  46 *    PshV4    v1
  421  47 *    PshVPtr  v0
  422  49 *    ADDSi    v72, 134217952
  424  49 *    RDSPtr
  425  49 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  428  49 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  430  46 *    PshRPtr
  431  48 *    RefCpyV  v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  434  48 *    CALLSYS  4574           (GameObject@& Array::opIndex(uint))
  436  45 *    PshRPtr
  437  47 *    RDSPtr
  438  47 *    RefCpyV  v45, 0x2c81a70          (i:46668400, f:2.30573e-316)
  441  47 *    CALLINTF 4457           (void Base::removeFromScene())
  443  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  446  45 *    FREE     v43, 0x2d65f50          (i:47603536, f:2.35193e-316)
  449  45 *    FREE     v45, 0x2c81a70          (i:46668400, f:2.30573e-316)
- 72,6 -
  452  45 *    SUSPEND
  453  45 *    PshV4    v10
  454  46 *    PshV4    v1
  455  47 *    PshVPtr  v0
  456  49 *    ADDSi    v72, 134217952
  458  49 *    RDSPtr
  459  49 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  462  49 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  464  46 *    PshRPtr
  465  48 *    CALLSYS  129           (void Array::removeAt(uint))
  467  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
- 67,49 -
  470  45 * }
  470  45 * 14:
  470  45 * }
  470  45 * 11:
  470  45 *    SUSPEND
  471  45 *    IncVi    v10
- 67,21 -
  472  45 * 9:
  472  45 *    SUSPEND
  473  45 *    PshV4    v1
  474  46 *    PshVPtr  v0
  475  48 *    ADDSi    v72, 134217952
  477  48 *    RDSPtr
  478  48 *    RefCpyV  v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  481  48 *    CALLSYS  4590           (GameObject@[]& Array::opIndex(uint))
  483  45 *    PshRPtr
  484  47 *    CALLSYS  131           (uint Array::length() const)
  486  45 *    CpyRtoV4 v9
  487  45 *    FREE     v5, 0x2d69d40          (i:47619392, f:2.35271e-316)
  490  45 *    CMPu     v10, v9
  492  45 *    JS       -186              (d:308)
- 56,46 -
  494  45 * 10:
  494  45 * }
  494  45 * 3:
  494  45 *    SUSPEND
  495  45 *    IncVi    v1
- 56,21 -
  496  45 * 1:
  496  45 *    SUSPEND
  497  45 *    PshVPtr  v0
  498  47 *    ADDSi    v72, 134217952
  500  47 *    RDSPtr
  501  47 *    CALLSYS  131           (uint Array::length() const)
  503  45 *    CpyRtoV4 v2
  504  45 *    CMPu     v1, v2
  506  45 *    JS       -503              (d:5)
- 77,3 -
  508  45 * 2:
  508  45 *    SUSPEND
  509  45 * 0:
  509  45 *    RET      2
