{"type": "func", "start": 4298029088, "end": 4298029225, "name": "GJPathPage::onBack", "pseudocode": "// \n// GJPathPage::onBack from 0x1002eb820 to 0x1002eb8a9 (137 bytes)\n// \n// 1 xrefs:\n// > GJPathPage::init @ 0x1002ea269\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:23 +0000\n// \n\n__int64 __fastcall GJPathPage::onBack(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  int v7; // [rsp-14h] [rbp-14h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 692) )\n  {\n    v7 = HIDWORD(result);\n    v4 = cocos2d::CCDirector::sharedDirector(a1, a2);\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);\n    cocos2d::CCNode::stopAllActions(a1);\n    cocos2d::CCNode::unscheduleAllSelectors(a1);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n    v6 = *(_QWORD *)(a1 + 680);\n    BYTE2(v7) = -1;\n    LOWORD(v7) = -1;\n    return (*(__int64 (__fastcall **)(_QWORD, int *))(**(_QWORD **)(v6 + 672) + 960LL))(*(_QWORD *)(v6 + 672), &v7);\n  }\n  return result;\n}", "assembly": "; \n; GJPathPage::onBack from 0x1002eb820 to 0x1002eb8a9 (137 bytes)\n; \n; 1 xrefs:\n; > GJPathPage::init @ 0x1002ea269\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:23 +0000\n; \ncmp     byte ptr [rdi+2B4h], 0                                         ; +0x0, 0x1002eb820\njnz     short locret_1002EB8A8                                         ; +0x7, 0x1002eb827\npush    rbp                                                            ; +0x9, 0x1002eb829\nmov     rbp, rsp                                                       ; +0xa, 0x1002eb82a\npush    rbx                                                            ; +0xd, 0x1002eb82d\npush    rax                                                            ; +0xe, 0x1002eb82e\nmov     rbx, rdi                                                       ; +0xf, 0x1002eb82f\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x12, 0x1002eb832\nmov     rcx, [rax]                                                     ; +0x17, 0x1002eb837\nmov     rdi, rax                                                       ; +0x1a, 0x1002eb83a\ncall    qword ptr [rcx+0A0h]                                           ; +0x1d, 0x1002eb83d\nmov     rdi, rax                                                       ; +0x23, 0x1002eb843\nmov     rsi, rbx                                                       ; +0x26, 0x1002eb846\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x29, 0x1002eb849\nmov     rdi, rbx                                                       ; +0x2e, 0x1002eb84e\ncall    cocos2d__CCNode__stopAllActions                                ; +0x31, 0x1002eb851\nmov     rdi, rbx                                                       ; +0x36, 0x1002eb856\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x39, 0x1002eb859\nmov     rax, [rbx]                                                     ; +0x3e, 0x1002eb85e\nmov     rdi, rbx                                                       ; +0x41, 0x1002eb861\nxor     esi, esi                                                       ; +0x44, 0x1002eb864\ncall    qword ptr [rax+430h]                                           ; +0x46, 0x1002eb866\nmov     rax, [rbx]                                                     ; +0x4c, 0x1002eb86c\nmov     rdi, rbx                                                       ; +0x4f, 0x1002eb86f\nmov     esi, 1                                                         ; +0x52, 0x1002eb872\ncall    qword ptr [rax+210h]                                           ; +0x57, 0x1002eb877\nmov     rax, [rbx+2A8h]                                                ; +0x5d, 0x1002eb87d\nmov     byte ptr [rbp-0Ah], 0FFh                                       ; +0x64, 0x1002eb884\nmov     word ptr [rbp-0Ch], 0FFFFh                                     ; +0x68, 0x1002eb888\nmov     rdi, [rax+2A0h]                                                ; +0x6e, 0x1002eb88e\nmov     rax, [rdi]                                                     ; +0x75, 0x1002eb895\nlea     rsi, [rbp-0Ch]                                                 ; +0x78, 0x1002eb898\ncall    qword ptr [rax+3C0h]                                           ; +0x7c, 0x1002eb89c\nadd     rsp, 8                                                         ; +0x82, 0x1002eb8a2\npop     rbx                                                            ; +0x86, 0x1002eb8a6\npop     rbp                                                            ; +0x87, 0x1002eb8a7\nretn                                                                   ; +0x88, 0x1002eb8a8", "xrefs": ["GJPathPage::init @ 0x1002ea269"], "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"}