{"type": "func", "start": 4298130824, "end": 4298130912, "name": "GJGarageLayer::onPaint", "pseudocode": "// \n// GJGarageLayer::onPaint from 0x100304588 to 0x1003045e0 (88 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x10030271c\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 GJGarageLayer::onPaint(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  CharacterColorPage *v3; // x0\n  ListButtonBar *m_iconSelection; // x0\n\n  v3 = CharacterColorPage::create();\n  v3->m_delegate = &a1->CharacterColorDelegate;\n  v3->m_scene = a1;\n  ((void (__fastcall *)(CharacterColorPage *))v3->show)(v3);\n  m_iconSelection = a1->m_iconSelection;\n  if ( m_iconSelection )\n    ((void (__fastcall *)(ListButtonBar *, _QWORD))m_iconSelection->setVisible)(m_iconSelection, 0);\n}", "assembly": "; \n; GJGarageLayer::onPaint from 0x100304588 to 0x1003045e0 (88 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x10030271c\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, 0x100304588\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10030458c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100304590\nMOV             X19, X0                                                ; +0xc, 0x100304594\nBL              CharacterColorPage__create                             ; +0x10, 0x100304598\nADD             X8, X19, #0x1C0                                        ; +0x14, 0x10030459c\nSTR             X8, [X0,#0x2A8]                                        ; +0x18, 0x1003045a0\nSTR             X19, [X0,#0x230]                                       ; +0x1c, 0x1003045a4\nLDR             X8, [X0]                                               ; +0x20, 0x1003045a8\nLDR             X8, [X8,#0x508]                                        ; +0x24, 0x1003045ac\nBLR             X8                                                     ; +0x28, 0x1003045b0\nLDR             X0, [X19,#0x238]                                       ; +0x2c, 0x1003045b4\nCBZ             X0, loc_1003045D4                                      ; +0x30, 0x1003045b8\nLDR             X8, [X0]                                               ; +0x34, 0x1003045bc\nLDR             X2, [X8,#0x148]                                        ; +0x38, 0x1003045c0\nMOV             W1, #0                                                 ; +0x3c, 0x1003045c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1003045c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1003045cc\nBR              X2                                                     ; +0x48, 0x1003045d0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1003045d4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1003045d8\nRET                                                                    ; +0x54, 0x1003045dc", "xrefs": ["GJGarageLayer::init @ 0x10030271c"], "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"}