{"type": "func", "start": 4591954, "end": 4592000, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x461152 to 0x461180 (46 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::onBrowse(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  GJColorSetupLayer *v4; // r0\n  GJColorSetupLayer_vtbl *v5; // r3\n\n  v3 = GameManager::sharedState();\n  v4 = GJColorSetupLayer::create(v3->m_levelEditorLayer->m_levelSettings);\n  v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v4->m_delegate = &a1->ColorSetupDelegate;\n  v4->m_closeOnSelect = 1;\n  ((void (*)(void))v5->show)();\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x461152 to 0x461180 (46 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\nPUSH            {R4,LR}                                                ; +0x0, 0x461152\nMOV             R4, R0                                                 ; +0x2, 0x461154\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x461156\nADD.W           R4, R4, #0x1FC                                         ; +0x8, 0x46115a\nLDR.W           R3, [R0,#0x170]                                        ; +0xc, 0x46115e\nLDR.W           R0, [R3,#0x8C0]; this                                  ; +0x10, 0x461162\nBL              _ZN17GJColorSetupLayer6createEP19LevelSettingsObject; GJColorSetupLayer::create(LevelSettingsObject *) ; +0x14, 0x461166\nMOVS            R2, #1                                                 ; +0x18, 0x46116a\nLDR             R3, [R0]                                               ; +0x1a, 0x46116c\nSTR.W           R4, [R0,#0x224]                                        ; +0x1c, 0x46116e\nSTRB.W          R2, [R0,#0x220]                                        ; +0x20, 0x461172\nLDR.W           R3, [R3,#0x284]                                        ; +0x24, 0x461176\nPOP.W           {R4,LR}                                                ; +0x28, 0x46117a\nBX              R3                                                     ; +0x2c, 0x46117e", "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"}