{"type": "func", "start": 5371296256, "end": 5371296326, "name": "GJGarageLayer::onSpecial", "pseudocode": "// \n// GJGarageLayer::onSpecial from 0x140277a00 to 0x140277a46 (70 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::setupPage @ 0x1402766e7\n// > <???> @ 0x1406d0fbc\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 GJGarageLayer::onSpecial(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  void *v2; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_1406C2ED8 )\n  {\n    v2 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n  }\n  GameManager::toggleGameVariable((GameManager *)a1, \"0153\");\n}", "assembly": "; \n; GJGarageLayer::onSpecial from 0x140277a00 to 0x140277a46 (70 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::setupPage @ 0x1402766e7\n; > <???> @ 0x1406d0fbc\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\nsub     rsp, 28h                                                       ; +0x0, 0x140277a00\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x4, 0x140277a04\njnz     short loc_140277A36                                            ; +0xc, 0x140277a0c\nmov     ecx, 668h; Size                                                ; +0xe, 0x140277a0e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x140277a13\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x140277a18\nmov     rcx, rax                                                       ; +0x1d, 0x140277a1d\ncall    sub_14017AB00                                                  ; +0x20, 0x140277a20\nnop                                                                    ; +0x25, 0x140277a25\nmov     cs:qword_1406C2ED8, rax                                        ; +0x26, 0x140277a26\nmov     rdx, [rax]                                                     ; +0x2d, 0x140277a2d\nmov     rcx, rax                                                       ; +0x30, 0x140277a30\ncall    qword ptr [rdx+48h]                                            ; +0x33, 0x140277a33\nlea     rdx, a0153; \"0153\"                                             ; +0x36, 0x140277a36\nadd     rsp, 28h                                                       ; +0x3d, 0x140277a3d\njmp     GameManager__toggleGameVariable                                ; +0x41, 0x140277a41", "xrefs": ["GJGarageLayer::setupPage @ 0x1402766e7", "<???> @ 0x1406d0fbc"], "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"}