{"type": "func", "start": 5758878, "end": 5758924, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x57df9e to 0x57dfcc (46 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:50 +0000\n// \n\nint __fastcall CustomizeObjectLayer::onBrowse(CustomizeObjectLayer *this, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  LevelSettingsObject *v4; // r1\n  int *v5; // r0\n  int v6; // r3\n\n  v3 = GameManager::sharedState(this);\n  v5 = (int *)GJColorSetupLayer::create(*(GJColorSetupLayer **)(*(_DWORD *)(v3 + 408) + 2084), v4);\n  v6 = *v5;\n  *((_BYTE *)v5 + 568) = 1;\n  v5[143] = (int)this + 528;\n  return (*(int (**)(void))(v6 + 656))();\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x57df9e to 0x57dfcc (46 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:50 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x57df9e\nMOV             R4, R0                                                 ; +0x2, 0x57dfa0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x57dfa2\nADD.W           R4, R4, #0x210                                         ; +0x8, 0x57dfa6\nLDR.W           R3, [R0,#0x198]                                        ; +0xc, 0x57dfaa\nLDR.W           R0, [R3,#0x824]; this                                  ; +0x10, 0x57dfae\nBL              _ZN17GJColorSetupLayer6createEP19LevelSettingsObject; GJColorSetupLayer::create(LevelSettingsObject *) ; +0x14, 0x57dfb2\nMOVS            R2, #1                                                 ; +0x18, 0x57dfb6\nLDR             R3, [R0]                                               ; +0x1a, 0x57dfb8\nSTRB.W          R2, [R0,#0x238]                                        ; +0x1c, 0x57dfba\nSTR.W           R4, [R0,#0x23C]                                        ; +0x20, 0x57dfbe\nLDR.W           R3, [R3,#0x290]                                        ; +0x24, 0x57dfc2\nPOP.W           {R4,LR}                                                ; +0x28, 0x57dfc6\nBX              R3                                                     ; +0x2c, 0x57dfca", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}