{"type": "func", "start": 4592430, "end": 4592468, "name": "CustomizeObjectLayer::onBreakApart", "pseudocode": "// \n// CustomizeObjectLayer::onBreakApart from 0x46132e to 0x461354 (38 bytes)\n// \n// 0 xrefs:\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 CustomizeObjectLayer::onBreakApart(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  if ( a1->m_targetObject )\n  {\n    CustomizeObjectLayer::onClose(a1, nullptr);\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::breakApartTextObject(v3->m_levelEditorLayer, (TextGameObject *)a1->m_targetObject);\n  }\n}", "assembly": "; \n; CustomizeObjectLayer::onBreakApart from 0x46132e to 0x461354 (38 bytes)\n; \n; 0 xrefs:\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,#0x200]                                        ; +0x0, 0x46132e\nPUSH            {R4,LR}                                                ; +0x4, 0x461332\nMOV             R4, R0                                                 ; +0x6, 0x461334\nCBZ             R3, locret_461352                                      ; +0x8, 0x461336\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0xa, 0x461338\nBL              _ZN20CustomizeObjectLayer7onCloseEPN7cocos2d8CCObjectE; CustomizeObjectLayer::onClose(cocos2d::CCObject *) ; +0xc, 0x46133a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x46133e\nLDR.W           R1, [R4,#0x200]; TextGameObject *                      ; +0x14, 0x461342\nPOP.W           {R4,LR}                                                ; +0x18, 0x461346\nLDR.W           R0, [R0,#0x170]; this                                  ; +0x1c, 0x46134a\nB.W             _ZN16LevelEditorLayer20breakApartTextObjectEP14TextGameObject; LevelEditorLayer::breakApartTextObject(TextGameObject *) ; +0x20, 0x46134e\nPOP             {R4,PC}                                                ; +0x24, 0x461352", "xrefs": [], "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"}