{"type": "func", "start": 5372380160, "end": 5372380233, "name": "GJGarageLayer::onSpecial", "pseudocode": "// \n// GJGarageLayer::onSpecial from 0x140380400 to 0x140380449 (73 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::setupPage @ 0x14037f047\n// > <???> @ 0x1409228d4\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 11:31:05 +0000\n// \n\n__int64 __fastcall GJGarageLayer::onSpecial(__int64 a1)\n{\n  void *v2; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_14090BFD0 )\n  {\n    v2 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  return GameManager::toggleGameVariable(a1, \"0153\");\n}", "assembly": "; \n; GJGarageLayer::onSpecial from 0x140380400 to 0x140380449 (73 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::setupPage @ 0x14037f047\n; > <???> @ 0x1409228d4\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 11:31:05 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x140380400\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x140380404\njnz     short loc_140380439                                            ; +0xc, 0x14038040c\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x14038040e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x140380413\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x140380418\nmov     rcx, rax                                                       ; +0x1d, 0x14038041d\ncall    GameManager__GameManager                                       ; +0x20, 0x140380420\nnop                                                                    ; +0x25, 0x140380425\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x140380426\nmov     rcx, [rax]                                                     ; +0x2d, 0x14038042d\nmov     rdx, [rcx+48h]                                                 ; +0x30, 0x140380430\nmov     rcx, rax                                                       ; +0x34, 0x140380434\ncall    rdx                                                            ; +0x37, 0x140380437\nlea     rdx, a0153; \"0153\"                                             ; +0x39, 0x140380439\nadd     rsp, 28h                                                       ; +0x40, 0x140380440\njmp     GameManager__toggleGameVariable                                ; +0x44, 0x140380444", "xrefs": ["GJGarageLayer::setupPage @ 0x14037f047", "<???> @ 0x1409228d4"], "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"}