{"type": "func", "start": 4296993412, "end": 4296993624, "name": "GJBaseGameLayer::moveObjectsSilent", "pseudocode": "// \n// GJBaseGameLayer::moveObjectsSilent from 0x1001eea84 to 0x1001eeb58 (212 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee948\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 __fastcall GJBaseGameLayer::moveObjectsSilent(GJBaseGameLayer *a1, int a2, double a3, double a4)\n{\n  cocos2d::CCArray *Group; // x0\n  cocos2d::ccArray *data; // x9\n  __int64 num; // x8\n  cocos2d::CCObject **arr; // x22\n  unsigned __int64 v12; // x23\n  cocos2d::CCObject *v13; // x21\n\n  Group = GJBaseGameLayer::getGroup(a1, a2);\n  if ( Group )\n  {\n    data = Group->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      v12 = (unsigned __int64)&arr[num - 1];\n      do\n      {\n        v13 = *arr;\n        if ( !*arr )\n          break;\n        if ( (v13[12].m_uUnknown & 1) == 0 )\n          *(double *)&v13[16].m_uOrderOfArrival = *(double *)&v13[16].m_uOrderOfArrival + a3;\n        *(double *)&v13[17].__vftable = *(double *)&v13[17].__vftable + a4;\n        GameObject::dirtifyObjectRect((GameObject *)v13);\n        GameObject::dirtifyObjectPos((GameObject *)v13);\n        ((void (__fastcall *)(GJBaseGameLayer *, cocos2d::CCObject *))a1->updateObjectSection)(a1, v13);\n        *(float32x2_t *)&v13[21].m_uOrderOfArrival = vcvt_f32_f64(*(float64x2_t *)&v13[16].m_uOrderOfArrival);\n        ++arr;\n      }\n      while ( (unsigned __int64)arr <= v12 );\n    }\n  }\n  GJEffectManager::saveCompletedMove(a1->m_effectManager, a2, a3, a4);\n}", "assembly": "; \n; GJBaseGameLayer::moveObjectsSilent from 0x1001eea84 to 0x1001eeb58 (212 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee948\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\nSTP             D9, D8, [SP,#-0x10+var_40]!                            ; +0x0, 0x1001eea84\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x4, 0x1001eea88\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1001eea8c\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1001eea90\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1001eea94\nADD             X29, SP, #0x40                                         ; +0x14, 0x1001eea98\nFMOV            D8, D1                                                 ; +0x18, 0x1001eea9c\nFMOV            D9, D0                                                 ; +0x1c, 0x1001eeaa0\nMOV             X19, X1                                                ; +0x20, 0x1001eeaa4\nMOV             X20, X0                                                ; +0x24, 0x1001eeaa8\nBL              GJBaseGameLayer__getGroup                              ; +0x28, 0x1001eeaac\nCBZ             X0, loc_1001EEB30                                      ; +0x2c, 0x1001eeab0\nLDR             X9, [X0,#0x38]                                         ; +0x30, 0x1001eeab4\nLDR             W8, [X9]                                               ; +0x34, 0x1001eeab8\nCBZ             W8, loc_1001EEB30                                      ; +0x38, 0x1001eeabc\nLDR             X22, [X9,#0x10]                                        ; +0x3c, 0x1001eeac0\nADD             X8, X22, X8,LSL#3                                      ; +0x40, 0x1001eeac4\nSUB             X23, X8, #8                                            ; +0x44, 0x1001eeac8\nLDR             X21, [X22]                                             ; +0x48, 0x1001eeacc\nCBZ             X21, loc_1001EEB30                                     ; +0x4c, 0x1001eead0\nLDRB            W8, [X21,#0x2C4]                                       ; +0x50, 0x1001eead4\nTBNZ            W8, #0, loc_1001EEAE8                                  ; +0x54, 0x1001eead8\nLDR             D0, [X21,#0x3B0]                                       ; +0x58, 0x1001eeadc\nFADD            D0, D0, D9                                             ; +0x5c, 0x1001eeae0\nSTR             D0, [X21,#0x3B0]                                       ; +0x60, 0x1001eeae4\nLDR             D0, [X21,#0x3B8]                                       ; +0x64, 0x1001eeae8\nFADD            D0, D0, D8                                             ; +0x68, 0x1001eeaec\nSTR             D0, [X21,#0x3B8]                                       ; +0x6c, 0x1001eeaf0\nMOV             X0, X21                                                ; +0x70, 0x1001eeaf4\nBL              GameObject__dirtifyObjectRect                          ; +0x74, 0x1001eeaf8\nMOV             X0, X21                                                ; +0x78, 0x1001eeafc\nBL              GameObject__dirtifyObjectPos                           ; +0x7c, 0x1001eeb00\nLDR             X8, [X20]                                              ; +0x80, 0x1001eeb04\nLDR             X8, [X8,#0x528]                                        ; +0x84, 0x1001eeb08\nMOV             X0, X20                                                ; +0x88, 0x1001eeb0c\nMOV             X1, X21                                                ; +0x8c, 0x1001eeb10\nBLR             X8                                                     ; +0x90, 0x1001eeb14\nLDR             Q0, [X21,#0x3B0]                                       ; +0x94, 0x1001eeb18\nFCVTN           V0.2S, V0.2D                                           ; +0x98, 0x1001eeb1c\nSTR             D0, [X21,#0x4C8]                                       ; +0x9c, 0x1001eeb20\nADD             X22, X22, #8                                           ; +0xa0, 0x1001eeb24\nCMP             X22, X23                                               ; +0xa4, 0x1001eeb28\nB.LS            loc_1001EEACC                                          ; +0xa8, 0x1001eeb2c\nLDR             X0, [X20,#0x878]                                       ; +0xac, 0x1001eeb30\nMOV             X1, X19                                                ; +0xb0, 0x1001eeb34\nFMOV            D0, D9                                                 ; +0xb4, 0x1001eeb38\nFMOV            D1, D8                                                 ; +0xb8, 0x1001eeb3c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xbc, 0x1001eeb40\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xc0, 0x1001eeb44\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xc4, 0x1001eeb48\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0xc8, 0x1001eeb4c\nLDP             D9, D8, [SP+0x40+var_40],#0x50                         ; +0xcc, 0x1001eeb50\nB               GJEffectManager__saveCompletedMove                     ; +0xd0, 0x1001eeb54", "xrefs": ["GJBaseGameLayer::triggerMoveCommand @ 0x1001ee948"], "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"}