{"type": "func", "start": 4298462512, "end": 4298462598, "name": "GJGarageLayer::onPaint", "pseudocode": "// \n// GJGarageLayer::onPaint from 0x100355530 to 0x100355586 (86 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x10035353b\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:51 +0000\n// \n\n__int64 __fastcall GJGarageLayer::onPaint(__int64 a1)\n{\n  _QWORD *v1; // rax\n  __int64 result; // rax\n  __int64 v3; // rdi\n\n  v1 = (_QWORD *)CharacterColorPage::create(a1);\n  v1[88] = a1 + 448;\n  v1[71] = a1;\n  result = (*(__int64 (__fastcall **)(_QWORD *))(*v1 + 1312LL))(v1);\n  v3 = *(_QWORD *)(a1 + 568);\n  if ( v3 )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0);\n  return result;\n}", "assembly": "; \n; GJGarageLayer::onPaint from 0x100355530 to 0x100355586 (86 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x10035353b\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x100355530\nmov     rbp, rsp                                                       ; +0x1, 0x100355531\npush    rbx                                                            ; +0x4, 0x100355534\npush    rax                                                            ; +0x5, 0x100355535\nmov     rbx, rdi                                                       ; +0x6, 0x100355536\ncall    CharacterColorPage__create                                     ; +0x9, 0x100355539\nlea     rcx, [rbx+1C0h]                                                ; +0xe, 0x10035553e\nmov     [rax+2C0h], rcx                                                ; +0x15, 0x100355545\nmov     [rax+238h], rbx                                                ; +0x1c, 0x10035554c\nmov     rcx, [rax]                                                     ; +0x23, 0x100355553\nmov     rdi, rax                                                       ; +0x26, 0x100355556\ncall    qword ptr [rcx+520h]                                           ; +0x29, 0x100355559\nmov     rdi, [rbx+238h]                                                ; +0x2f, 0x10035555f\ntest    rdi, rdi                                                       ; +0x36, 0x100355566\njz      short loc_10035557F                                            ; +0x39, 0x100355569\nmov     rax, [rdi]                                                     ; +0x3b, 0x10035556b\nmov     rax, [rax+158h]                                                ; +0x3e, 0x10035556e\nxor     esi, esi                                                       ; +0x45, 0x100355575\nadd     rsp, 8                                                         ; +0x47, 0x100355577\npop     rbx                                                            ; +0x4b, 0x10035557b\npop     rbp                                                            ; +0x4c, 0x10035557c\njmp     rax                                                            ; +0x4d, 0x10035557d\nadd     rsp, 8                                                         ; +0x4f, 0x10035557f\npop     rbx                                                            ; +0x53, 0x100355583\npop     rbp                                                            ; +0x54, 0x100355584\nretn                                                                   ; +0x55, 0x100355585", "xrefs": ["GJGarageLayer::init @ 0x10035353b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}