{"type": "func", "start": 4297072876, "end": 4297072980, "name": "GJBaseGameLayer::updateAllObjectSection", "pseudocode": "// \n// GJBaseGameLayer::updateAllObjectSection from 0x1002020ec to 0x100202154 (104 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::levelSettingsUpdated @ 0x1003593e8\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::updateAllObjectSection(GJBaseGameLayer *a1)\n{\n  cocos2d::CCArray *m_objects; // x8\n  cocos2d::ccArray *data; // x9\n  __int64 num; // x8\n  cocos2d::CCObject **arr; // x20\n  unsigned __int64 v6; // x21\n\n  m_objects = a1->m_objects;\n  if ( m_objects )\n  {\n    data = m_objects->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      v6 = (unsigned __int64)&arr[num - 1];\n      do\n      {\n        if ( !*arr )\n          break;\n        ((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1);\n        ++arr;\n      }\n      while ( (unsigned __int64)arr <= v6 );\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateAllObjectSection from 0x1002020ec to 0x100202154 (104 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::levelSettingsUpdated @ 0x1003593e8\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\nLDR             X8, [X0,#0xCE0]                                        ; +0x0, 0x1002020ec\nCBZ             X8, locret_100202150                                   ; +0x4, 0x1002020f0\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x8, 0x1002020f4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0xc, 0x1002020f8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x10, 0x1002020fc\nADD             X29, SP, #0x20                                         ; +0x14, 0x100202100\nLDR             X9, [X8,#0x38]                                         ; +0x18, 0x100202104\nLDR             W8, [X9]                                               ; +0x1c, 0x100202108\nCBZ             W8, loc_100202144                                      ; +0x20, 0x10020210c\nMOV             X19, X0                                                ; +0x24, 0x100202110\nLDR             X20, [X9,#0x10]                                        ; +0x28, 0x100202114\nADD             X8, X20, X8,LSL#3                                      ; +0x2c, 0x100202118\nSUB             X21, X8, #8                                            ; +0x30, 0x10020211c\nLDR             X1, [X20]                                              ; +0x34, 0x100202120\nCBZ             X1, loc_100202144                                      ; +0x38, 0x100202124\nLDR             X8, [X19]                                              ; +0x3c, 0x100202128\nLDR             X8, [X8,#0x528]                                        ; +0x40, 0x10020212c\nMOV             X0, X19                                                ; +0x44, 0x100202130\nBLR             X8                                                     ; +0x48, 0x100202134\nADD             X20, X20, #8                                           ; +0x4c, 0x100202138\nCMP             X20, X21                                               ; +0x50, 0x10020213c\nB.LS            loc_100202120                                          ; +0x54, 0x100202140\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x100202144\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x100202148\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x60, 0x10020214c\nRET                                                                    ; +0x64, 0x100202150", "xrefs": ["LevelEditorLayer::levelSettingsUpdated @ 0x1003593e8"], "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"}