{"type": "func", "start": 4297032464, "end": 4297032536, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x1001f8310 to 0x1001f8358 (72 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001f716d\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 __fastcall CustomizeObjectLayer::onBrowse(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n  GJColorSetupLayer *v3; // rax\n\n  v2 = GameManager::sharedState();\n  v3 = GJColorSetupLayer::create(v2->m_levelEditorLayer->m_levelSettings);\n  v3->m_closeOnSelect = 1;\n  v3->m_delegate = &a1->ColorSetupDelegate;\n  ((void (__fastcall *)(GJColorSetupLayer *, cocos2d::CCObject *))v3->show)(v3, a2);\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x1001f8310 to 0x1001f8358 (72 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001f716d\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    rbp                                                            ; +0x0, 0x1001f8310\nmov     rbp, rsp                                                       ; +0x1, 0x1001f8311\npush    rbx                                                            ; +0x4, 0x1001f8314\npush    rax                                                            ; +0x5, 0x1001f8315\nmov     rbx, rdi                                                       ; +0x6, 0x1001f8316\ncall    GameManager__sharedState                                       ; +0x9, 0x1001f8319\nmov     rax, [rax+200h]                                                ; +0xe, 0x1001f831e\nmov     rdi, [rax+0CB0h]                                               ; +0x15, 0x1001f8325\ncall    GJColorSetupLayer__create                                      ; +0x1c, 0x1001f832c\nmov     byte ptr [rax+2D0h], 1                                         ; +0x21, 0x1001f8331\nadd     rbx, 290h                                                      ; +0x28, 0x1001f8338\nmov     [rax+2D8h], rbx                                                ; +0x2f, 0x1001f833f\nmov     rcx, [rax]                                                     ; +0x36, 0x1001f8346\nmov     rdi, rax                                                       ; +0x39, 0x1001f8349\nadd     rsp, 8                                                         ; +0x3c, 0x1001f834c\npop     rbx                                                            ; +0x40, 0x1001f8350\npop     rbp                                                            ; +0x41, 0x1001f8351\njmp     qword ptr [rcx+508h]                                           ; +0x42, 0x1001f8352", "xrefs": ["CustomizeObjectLayer::init @ 0x1001f716d"], "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"}