{"type": "func", "start": 4295295036, "end": 4295295104, "name": "CustomizeObjectLayer::onBrowse", "pseudocode": "// \n// CustomizeObjectLayer::onBrowse from 0x10005003c to 0x100050080 (68 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004f244\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 *v3; // x0\n  GJColorSetupLayer *v4; // x0\n\n  v3 = GameManager::sharedState();\n  v4 = GJColorSetupLayer::create(v3->m_levelEditorLayer->m_levelSettings);\n  v4->m_closeOnSelect = 1;\n  v4->m_delegate = &a1->ColorSetupDelegate;\n  ((void (__fastcall *)(GJColorSetupLayer *))v4->show)(v4);\n}", "assembly": "; \n; CustomizeObjectLayer::onBrowse from 0x10005003c to 0x100050080 (68 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004f244\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10005003c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100050040\nADD             X29, SP, #0x10                                         ; +0x8, 0x100050044\nMOV             X19, X0                                                ; +0xc, 0x100050048\nBL              GameManager__sharedState                               ; +0x10, 0x10005004c\nLDR             X8, [X0,#0x200]                                        ; +0x14, 0x100050050\nLDR             X0, [X8,#0xCD8]                                        ; +0x18, 0x100050054\nBL              GJColorSetupLayer__create                              ; +0x1c, 0x100050058\nMOV             W8, #1                                                 ; +0x20, 0x10005005c\nSTRB            W8, [X0,#0x2D0]                                        ; +0x24, 0x100050060\nADD             X8, X19, #0x290                                        ; +0x28, 0x100050064\nSTR             X8, [X0,#0x2D8]                                        ; +0x2c, 0x100050068\nLDR             X8, [X0]                                               ; +0x30, 0x10005006c\nLDR             X1, [X8,#0x508]                                        ; +0x34, 0x100050070\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x100050074\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x100050078\nBR              X1                                                     ; +0x40, 0x10005007c", "xrefs": ["CustomizeObjectLayer::init @ 0x10004f244"], "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"}