{"type": "func", "start": 9972492, "end": 9972652, "name": "CustomizeObjectLayer::onClose", "pseudocode": "// \n// CustomizeObjectLayer::onClose from 0x982b0c to 0x982bac (160 bytes)\n// \n// 7 xrefs:\n// > CustomizeObjectLayer::onBreakApart @ 0x982bc8\n// > CustomizeObjectLayer::keyBackClicked @ 0x982bf4\n// > CustomizeObjectLayer::onLiveEdit @ 0x983690\n// > CustomizeObjectLayer::recreateLayer @ 0x9871f4\n// > <???> @ 0xd8298\n// > CustomizeObjectLayer::init @ 0x98514c\n// > <???> @ 0x1546758\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:52 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::onClose(CustomizeObjectLayer *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n  __int64 v5; // x0\n\n  *(_QWORD *)(*((_QWORD *)this + 102) + 584LL) = 0;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 102) + 1160LL))(*((_QWORD *)this + 102), 0);\n  v3 = *((GameManager **)this + 103);\n  if ( v3 )\n  {\n    (*(void (__fastcall **)(GameManager *, _QWORD))(*(_QWORD *)v3 + 1160LL))(v3, 0);\n    v3 = *((GameManager **)this + 103);\n    *((_QWORD *)v3 + 73) = 0;\n  }\n  v4 = (GameManager *)GameManager::sharedState(v3);\n  *((_DWORD *)v4 + 243) = *((_DWORD *)this + 187);\n  v5 = GameManager::sharedState(v4);\n  EditorUI::updateObjectInfoLabel(*(EditorUI **)(*(_QWORD *)(v5 + 552) + 14248LL));\n  (*(void (__fastcall **)(CustomizeObjectLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);\n  return (*(__int64 (__fastcall **)(CustomizeObjectLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);\n}", "assembly": "; \n; CustomizeObjectLayer::onClose from 0x982b0c to 0x982bac (160 bytes)\n; \n; 7 xrefs:\n; > CustomizeObjectLayer::onBreakApart @ 0x982bc8\n; > CustomizeObjectLayer::keyBackClicked @ 0x982bf4\n; > CustomizeObjectLayer::onLiveEdit @ 0x983690\n; > CustomizeObjectLayer::recreateLayer @ 0x9871f4\n; > <???> @ 0xd8298\n; > CustomizeObjectLayer::init @ 0x98514c\n; > <???> @ 0x1546758\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:52 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x982b0c\nMOV             W1, #0                                                 ; +0x4, 0x982b10\nMOV             X29, SP                                                ; +0x8, 0x982b14\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x982b18\nMOV             X19, X0                                                ; +0x10, 0x982b1c\nLDR             X0, [X0,#0x330]                                        ; +0x14, 0x982b20\nSTR             XZR, [X0,#0x248]                                       ; +0x18, 0x982b24\nLDR             X2, [X19,#0x330]                                       ; +0x1c, 0x982b28\nMOV             X0, X2                                                 ; +0x20, 0x982b2c\nLDR             X2, [X2]                                               ; +0x24, 0x982b30\nLDR             X2, [X2,#0x488]                                        ; +0x28, 0x982b34\nBLR             X2                                                     ; +0x2c, 0x982b38\nLDR             X0, [X19,#0x338]                                       ; +0x30, 0x982b3c\nCBZ             X0, loc_982B5C                                         ; +0x34, 0x982b40\nLDR             X2, [X0]                                               ; +0x38, 0x982b44\nMOV             W1, #0                                                 ; +0x3c, 0x982b48\nLDR             X2, [X2,#0x488]                                        ; +0x40, 0x982b4c\nBLR             X2                                                     ; +0x44, 0x982b50\nLDR             X0, [X19,#0x338]; this                                 ; +0x48, 0x982b54\nSTR             XZR, [X0,#0x248]                                       ; +0x4c, 0x982b58\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x50, 0x982b5c\nLDR             W1, [X19,#0x2EC]                                       ; +0x54, 0x982b60\nSTR             W1, [X0,#0x3CC]                                        ; +0x58, 0x982b64\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x5c, 0x982b68\nLDR             X0, [X0,#0x228]                                        ; +0x60, 0x982b6c\nLDR             X0, [X0,#0x37A8]; this                                 ; +0x64, 0x982b70\nBL              _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x68, 0x982b74\nLDR             X2, [X19]                                              ; +0x6c, 0x982b78\nMOV             X0, X19                                                ; +0x70, 0x982b7c\nMOV             W1, #0                                                 ; +0x74, 0x982b80\nLDR             X2, [X2,#0x430]                                        ; +0x78, 0x982b84\nBLR             X2                                                     ; +0x7c, 0x982b88\nLDR             X2, [X19]                                              ; +0x80, 0x982b8c\nMOV             X0, X19                                                ; +0x84, 0x982b90\nMOV             W1, #1                                                 ; +0x88, 0x982b94\nLDR             X2, [X2,#0x210]                                        ; +0x8c, 0x982b98\nBLR             X2                                                     ; +0x90, 0x982b9c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x94, 0x982ba0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x98, 0x982ba4\nRET                                                                    ; +0x9c, 0x982ba8", "xrefs": ["CustomizeObjectLayer::onBreakApart @ 0x982bc8", "CustomizeObjectLayer::keyBackClicked @ 0x982bf4", "CustomizeObjectLayer::onLiveEdit @ 0x983690", "CustomizeObjectLayer::recreateLayer @ 0x9871f4", "<???> @ 0xd8298", "CustomizeObjectLayer::init @ 0x98514c", "<???> @ 0x1546758"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}