{"type": "func", "start": 4298555664, "end": 4298555750, "name": "GJGarageLayer::onPaint", "pseudocode": "// \n// GJGarageLayer::onPaint from 0x10036c110 to 0x10036c166 (86 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x10036a12b\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 *v2; // rax\n  ListButtonBar *m_iconSelection; // rdi\n\n  v2 = CharacterColorPage::create();\n  v2->m_delegate = &a1->CharacterColorDelegate;\n  v2->m_scene = a1;\n  ((void (__fastcall *)(CharacterColorPage *, cocos2d::CCObject *))v2->show)(v2, a2);\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 0x10036c110 to 0x10036c166 (86 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x10036a12b\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, 0x10036c110\nmov     rbp, rsp                                                       ; +0x1, 0x10036c111\npush    rbx                                                            ; +0x4, 0x10036c114\npush    rax                                                            ; +0x5, 0x10036c115\nmov     rbx, rdi                                                       ; +0x6, 0x10036c116\ncall    CharacterColorPage__create                                     ; +0x9, 0x10036c119\nlea     rcx, [rbx+1C0h]                                                ; +0xe, 0x10036c11e\nmov     [rax+2A8h], rcx                                                ; +0x15, 0x10036c125\nmov     [rax+230h], rbx                                                ; +0x1c, 0x10036c12c\nmov     rcx, [rax]                                                     ; +0x23, 0x10036c133\nmov     rdi, rax                                                       ; +0x26, 0x10036c136\ncall    qword ptr [rcx+508h]                                           ; +0x29, 0x10036c139\nmov     rdi, [rbx+238h]                                                ; +0x2f, 0x10036c13f\ntest    rdi, rdi                                                       ; +0x36, 0x10036c146\njz      short loc_10036C15F                                            ; +0x39, 0x10036c149\nmov     rax, [rdi]                                                     ; +0x3b, 0x10036c14b\nmov     rax, [rax+148h]                                                ; +0x3e, 0x10036c14e\nxor     esi, esi                                                       ; +0x45, 0x10036c155\nadd     rsp, 8                                                         ; +0x47, 0x10036c157\npop     rbx                                                            ; +0x4b, 0x10036c15b\npop     rbp                                                            ; +0x4c, 0x10036c15c\njmp     rax                                                            ; +0x4d, 0x10036c15d\nadd     rsp, 8                                                         ; +0x4f, 0x10036c15f\npop     rbx                                                            ; +0x53, 0x10036c163\npop     rbp                                                            ; +0x54, 0x10036c164\nretn                                                                   ; +0x55, 0x10036c165", "xrefs": ["GJGarageLayer::init @ 0x10036a12b"], "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"}