{"type": "func", "start": 8808800, "end": 8808924, "name": "GJBaseGameLayer::updateAllObjectSection", "pseudocode": "// \n// GJBaseGameLayer::updateAllObjectSection from 0x866960 to 0x8669dc (124 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::levelSettingsUpdated @ 0x66bec0\n// > <???> @ 0x90348\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::updateAllObjectSection(GJBaseGameLayer *a1)\n{\n  cocos2d::CCArray *m_objects; // x1\n  cocos2d::ccArray *data; // x2\n  cocos2d::CCObject **arr; // x19\n  cocos2d::CCObject **v4; // x21\n\n  m_objects = a1->m_objects;\n  if ( m_objects )\n  {\n    data = m_objects->data;\n    if ( data->num )\n    {\n      arr = data->arr;\n      v4 = &arr[data->num - 1];\n      if ( arr <= v4 )\n      {\n        if ( *arr )\n        {\n          do\n          {\n            ++arr;\n            ((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1);\n          }\n          while ( v4 >= arr && *arr );\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateAllObjectSection from 0x866960 to 0x8669dc (124 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::levelSettingsUpdated @ 0x66bec0\n; > <???> @ 0x90348\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x866960\nMOV             X29, SP                                                ; +0x4, 0x866964\nLDR             X1, [X0,#0xE10]                                        ; +0x8, 0x866968\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x86696c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x866970\nCBZ             X1, loc_8669CC                                         ; +0x14, 0x866974\nLDR             X2, [X1,#0x38]                                         ; +0x18, 0x866978\nLDR             W1, [X2]                                               ; +0x1c, 0x86697c\nCBZ             W1, loc_8669CC                                         ; +0x20, 0x866980\nLDR             X19, [X2,#0x10]                                        ; +0x24, 0x866984\nMOV             X21, #0xFFFFFFFFFFFFFFF8                               ; +0x28, 0x866988\nADD             X21, X21, W1,UXTW#3                                    ; +0x2c, 0x86698c\nADD             X21, X19, X21                                          ; +0x30, 0x866990\nCMP             X19, X21                                               ; +0x34, 0x866994\nB.HI            loc_8669CC                                             ; +0x38, 0x866998\nLDR             X1, [X19]                                              ; +0x3c, 0x86699c\nMOV             X20, X0                                                ; +0x40, 0x8669a0\nCBZ             X1, loc_8669CC                                         ; +0x44, 0x8669a4\nLDR             X2, [X20]                                              ; +0x48, 0x8669a8\nMOV             X0, X20                                                ; +0x4c, 0x8669ac\nADD             X19, X19, #8                                           ; +0x50, 0x8669b0\nLDR             X2, [X2,#0x528]                                        ; +0x54, 0x8669b4\nBLR             X2                                                     ; +0x58, 0x8669b8\nCMP             X21, X19                                               ; +0x5c, 0x8669bc\nB.CC            loc_8669CC                                             ; +0x60, 0x8669c0\nLDR             X1, [X19]                                              ; +0x64, 0x8669c4\nCBNZ            X1, loc_8669A8                                         ; +0x68, 0x8669c8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x6c, 0x8669cc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x70, 0x8669d0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x74, 0x8669d4\nRET                                                                    ; +0x78, 0x8669d8", "xrefs": ["LevelEditorLayer::levelSettingsUpdated @ 0x66bec0", "<???> @ 0x90348"], "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"}