{"type": "func", "start": 4672904, "end": 4673076, "name": "GJBaseGameLayer::moveObjectsSilent", "pseudocode": "// \n// GJBaseGameLayer::moveObjectsSilent from 0x474d88 to 0x474e34 (172 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::triggerMoveCommand @ 0x481b82\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJBaseGameLayer::moveObjectsSilent(GJBaseGameLayer *a1, int a2, double a3, double a4)\n{\n  cocos2d::CCArray *Group; // r0\n  cocos2d::ccArray *data; // r3\n  cocos2d::CCObject **arr; // r6\n  cocos2d::CCObject **v10; // r5\n  GameObject *v11; // r4\n  GameObject *v12; // t1\n  float m_positionX; // s14\n  float m_positionY; // s14\n\n  Group = GJBaseGameLayer::getGroup(a1, a2);\n  if ( Group )\n  {\n    data = Group->data;\n    if ( data->num )\n    {\n      arr = data->arr;\n      v10 = &arr[data->num] + 0x3FFFFFFF;\n      while ( arr <= v10 )\n      {\n        v12 = (GameObject *)*arr++;\n        v11 = v12;\n        if ( !v12 )\n          break;\n        if ( !v11->m_tempOffsetXRelated )\n          v11->m_positionX = v11->m_positionX + a3;\n        v11->m_positionY = v11->m_positionY + a4;\n        GameObject::dirtifyObjectRect(v11);\n        GameObject::dirtifyObjectPos(v11);\n        a1->updateObjectSection(a1, v11);\n        m_positionX = v11->m_positionX;\n        v11->m_lastPosition.x = m_positionX;\n        m_positionY = v11->m_positionY;\n        v11->m_lastPosition.y = m_positionY;\n      }\n    }\n  }\n  GJEffectManager::saveCompletedMove(a1->m_effectManager, a2, a3, a4);\n}", "assembly": "; \n; GJBaseGameLayer::moveObjectsSilent from 0x474d88 to 0x474e34 (172 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::triggerMoveCommand @ 0x481b82\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x474d88\nMOV             R7, R0                                                 ; +0x4, 0x474d8c\nVPUSH           {D8-D9}                                                ; +0x6, 0x474d8e\nMOV             R8, R1                                                 ; +0xa, 0x474d92\nVMOV            D8, R2, R3                                             ; +0xc, 0x474d94\nVLDR            D9, [SP,#arg_0]                                        ; +0x10, 0x474d98\nBL              _ZN15GJBaseGameLayer8getGroupEi; GJBaseGameLayer::getGroup(int) ; +0x14, 0x474d9c\nCBNZ            R0, loc_474DBC                                         ; +0x18, 0x474da0\nVSTR            D9, [SP,#arg_0]                                        ; +0x1a, 0x474da2\nMOV             R1, R8; int                                            ; +0x1e, 0x474da6\nLDR.W           R0, [R7,#0x690]; this                                  ; +0x20, 0x474da8\nVMOV            R2, R3, D8; double                                     ; +0x24, 0x474dac\nVPOP            {D8-D9}                                                ; +0x28, 0x474db0\nPOP.W           {R4-R8,LR}                                             ; +0x2c, 0x474db4\nB.W             _ZN15GJEffectManager17saveCompletedMoveEidd; GJEffectManager::saveCompletedMove(int,double,double) ; +0x30, 0x474db8\nLDR             R3, [R0,#0x34]                                         ; +0x34, 0x474dbc\nLDR             R4, [R3]                                               ; +0x36, 0x474dbe\nCMP             R4, #0                                                 ; +0x38, 0x474dc0\nBEQ             loc_474DA2                                             ; +0x3a, 0x474dc2\nADD.W           R4, R4, #0x40000000                                    ; +0x3c, 0x474dc4\nLDR             R6, [R3,#0xC]                                          ; +0x40, 0x474dc8\nSUBS            R4, #1                                                 ; +0x42, 0x474dca\nADD.W           R5, R6, R4,LSL#2                                       ; +0x44, 0x474dcc\nCMP             R6, R5                                                 ; +0x48, 0x474dd0\nBHI             loc_474DA2                                             ; +0x4a, 0x474dd2\nLDR.W           R4, [R6],#4                                            ; +0x4c, 0x474dd4\nCMP             R4, #0                                                 ; +0x50, 0x474dd8\nBEQ             loc_474DA2                                             ; +0x52, 0x474dda\nLDRB.W          R3, [R4,#0x260]                                        ; +0x54, 0x474ddc\nCBNZ            R3, loc_474DEE                                         ; +0x58, 0x474de0\nVLDR            D7, [R4,#0x320]                                        ; +0x5a, 0x474de2\nVADD.F64        D7, D7, D8                                             ; +0x5e, 0x474de6\nVSTR            D7, [R4,#0x320]                                        ; +0x62, 0x474dea\nMOV             R0, R4; this                                           ; +0x66, 0x474dee\nVLDR            D7, [R4,#0x328]                                        ; +0x68, 0x474df0\nVADD.F64        D7, D7, D9                                             ; +0x6c, 0x474df4\nVSTR            D7, [R4,#0x328]                                        ; +0x70, 0x474df8\nBL              _ZN10GameObject17dirtifyObjectRectEv; GameObject::dirtifyObjectRect(void) ; +0x74, 0x474dfc\nMOV             R0, R4; this                                           ; +0x78, 0x474e00\nBL              _ZN10GameObject16dirtifyObjectPosEv; GameObject::dirtifyObjectPos(void) ; +0x7a, 0x474e02\nLDR             R3, [R7]                                               ; +0x7e, 0x474e06\nMOV             R0, R7                                                 ; +0x80, 0x474e08\nMOV             R1, R4                                                 ; +0x82, 0x474e0a\nLDR.W           R3, [R3,#0x294]                                        ; +0x84, 0x474e0c\nBLX             R3                                                     ; +0x88, 0x474e10\nVLDR            D7, [R4,#0x320]                                        ; +0x8a, 0x474e12\nADDW            R3, R4, #0x41C                                         ; +0x8e, 0x474e16\nVCVT.F32.F64    S14, D7                                                ; +0x92, 0x474e1a\nVSTR            S14, [R3]                                              ; +0x96, 0x474e1e\nADD.W           R3, R4, #0x420                                         ; +0x9a, 0x474e22\nVLDR            D7, [R4,#0x328]                                        ; +0x9e, 0x474e26\nVCVT.F32.F64    S14, D7                                                ; +0xa2, 0x474e2a\nVSTR            S14, [R3]                                              ; +0xa6, 0x474e2e\nB               loc_474DD0                                             ; +0xaa, 0x474e32", "xrefs": ["GJBaseGameLayer::triggerMoveCommand @ 0x481b82"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}