{"type": "func", "start": 5371588976, "end": 5371589060, "name": "InfoLayer::toggleExtendedMode", "pseudocode": "// \n// InfoLayer::toggleExtendedMode from 0x1402bf170 to 0x1402bf1c4 (84 bytes)\n// \n// 2 xrefs:\n// > InfoLayer::init @ 0x1402bc245\n// > <???> @ 0x1406d28d0\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\n// Hidden C++ exception states: #wind=1\nvoid InfoLayer::toggleExtendedMode(InfoLayer *a1, cocos2d::CCObject *a2)\n{\n  void *v3; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_1406C2ED8 )\n  {\n    v3 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n  }\n  GameManager::toggleGameVariable((GameManager *)a1, \"0089\");\n  InfoLayer::reloadWindow(a1);\n}", "assembly": "; \n; InfoLayer::toggleExtendedMode from 0x1402bf170 to 0x1402bf1c4 (84 bytes)\n; \n; 2 xrefs:\n; > InfoLayer::init @ 0x1402bc245\n; > <???> @ 0x1406d28d0\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    rbx                                                            ; +0x0, 0x1402bf170\nsub     rsp, 20h                                                       ; +0x2, 0x1402bf172\nmov     rbx, rcx                                                       ; +0x6, 0x1402bf176\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x9, 0x1402bf179\njnz     short loc_1402BF1AB                                            ; +0x11, 0x1402bf181\nmov     ecx, 668h; Size                                                ; +0x13, 0x1402bf183\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x18, 0x1402bf188\nmov     [rsp+28h+arg_10], rax                                          ; +0x1d, 0x1402bf18d\nmov     rcx, rax                                                       ; +0x22, 0x1402bf192\ncall    sub_14017AB00                                                  ; +0x25, 0x1402bf195\nnop                                                                    ; +0x2a, 0x1402bf19a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2b, 0x1402bf19b\nmov     rdx, [rax]                                                     ; +0x32, 0x1402bf1a2\nmov     rcx, rax                                                       ; +0x35, 0x1402bf1a5\ncall    qword ptr [rdx+48h]                                            ; +0x38, 0x1402bf1a8\nlea     rdx, a0089; \"0089\"                                             ; +0x3b, 0x1402bf1ab\ncall    GameManager__toggleGameVariable                                ; +0x42, 0x1402bf1b2\nmov     rcx, rbx                                                       ; +0x47, 0x1402bf1b7\nadd     rsp, 20h                                                       ; +0x4a, 0x1402bf1ba\npop     rbx                                                            ; +0x4e, 0x1402bf1be\njmp     InfoLayer__reloadWindow                                        ; +0x4f, 0x1402bf1bf", "xrefs": ["InfoLayer::init @ 0x1402bc245", "<???> @ 0x1406d28d0"], "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"}