{"type": "func", "start": 4681424, "end": 4681476, "name": "GJBaseGameLayer::updateAllObjectSection", "pseudocode": "// \n// GJBaseGameLayer::updateAllObjectSection from 0x476ed0 to 0x476f04 (52 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::levelSettingsUpdated @ 0x36f99e\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; // r3\n  cocos2d::ccArray *data; // r2\n  cocos2d::CCObject **arr; // r5\n  cocos2d::CCObject **v5; // r4\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      v5 = &arr[data->num] + 0x3FFFFFFF;\n      while ( arr <= v5 )\n      {\n        if ( !*arr++ )\n          break;\n        ((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1);\n      }\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateAllObjectSection from 0x476ed0 to 0x476f04 (52 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::levelSettingsUpdated @ 0x36f99e\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.W           R3, [R0,#0x8C4]                                        ; +0x0, 0x476ed0\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x476ed4\nMOV             R6, R0                                                 ; +0x6, 0x476ed6\nCBZ             R3, locret_476F02                                      ; +0x8, 0x476ed8\nLDR             R2, [R3,#0x34]                                         ; +0xa, 0x476eda\nLDR             R3, [R2]                                               ; +0xc, 0x476edc\nCBZ             R3, locret_476F02                                      ; +0xe, 0x476ede\nADD.W           R3, R3, #0x40000000                                    ; +0x10, 0x476ee0\nLDR             R5, [R2,#0xC]                                          ; +0x14, 0x476ee4\nSUBS            R3, #1                                                 ; +0x16, 0x476ee6\nADD.W           R4, R5, R3,LSL#2                                       ; +0x18, 0x476ee8\nCMP             R5, R4                                                 ; +0x1c, 0x476eec\nBHI             locret_476F02                                          ; +0x1e, 0x476eee\nLDR.W           R1, [R5],#4                                            ; +0x20, 0x476ef0\nCBZ             R1, locret_476F02                                      ; +0x24, 0x476ef4\nLDR             R3, [R6]                                               ; +0x26, 0x476ef6\nMOV             R0, R6                                                 ; +0x28, 0x476ef8\nLDR.W           R3, [R3,#0x294]                                        ; +0x2a, 0x476efa\nBLX             R3                                                     ; +0x2e, 0x476efe\nB               loc_476EEC                                             ; +0x30, 0x476f00\nPOP             {R4-R6,PC}                                             ; +0x32, 0x476f02", "xrefs": ["LevelEditorLayer::levelSettingsUpdated @ 0x36f99e"], "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"}