{"type": "func", "start": 5372472768, "end": 5372472925, "name": "GJPathPage::onBack", "pseudocode": "// \n// GJPathPage::onBack from 0x140396dc0 to 0x140396e5d (157 bytes)\n// \n// 4 xrefs:\n// > GJPathPage::unlockAnimationFinished @ 0x140396cff\n// > GJPathPage::keyBackClicked @ 0x140396e69\n// > GJPathPage::init @ 0x1403938b4\n// > <???> @ 0x140923114\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:13 +0000\n// \n\nvoid __fastcall GJPathPage::onBack(__int64 a1)\n{\n  __int64 v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n  __int64 v4; // rdx\n  __int64 v5; // rax\n  __int16 v6; // [rsp+30h] [rbp+8h] BYREF\n  char v7; // [rsp+32h] [rbp+Ah]\n\n  if ( !*(_BYTE *)(a1 + 692) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector(a1);\n    v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1);\n    cocos2d::CCNode::stopAllActions((cocos2d::CCNode *)a1);\n    cocos2d::CCNode::unscheduleAllSelectors((cocos2d::CCNode *)a1);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n    LOBYTE(v4) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v4);\n    v6 = -1;\n    v5 = *(_QWORD *)(a1 + 680);\n    v7 = -1;\n    (**(void (__fastcall ***)(__int64, __int16 *))(*(_QWORD *)(v5 + 672) + 320LL))(*(_QWORD *)(v5 + 672) + 320LL, &v6);\n  }\n}", "assembly": "; \n; GJPathPage::onBack from 0x140396dc0 to 0x140396e5d (157 bytes)\n; \n; 4 xrefs:\n; > GJPathPage::unlockAnimationFinished @ 0x140396cff\n; > GJPathPage::keyBackClicked @ 0x140396e69\n; > GJPathPage::init @ 0x1403938b4\n; > <???> @ 0x140923114\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:13 +0000\n; \npush    rbx                                                            ; +0x0, 0x140396dc0\nsub     rsp, 20h                                                       ; +0x2, 0x140396dc2\ncmp     byte ptr [rcx+2B4h], 0                                         ; +0x6, 0x140396dc6\nmov     rbx, rcx                                                       ; +0xd, 0x140396dcd\njnz     loc_140396E57                                                  ; +0x10, 0x140396dd0\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x16, 0x140396dd6\nmov     rcx, rax                                                       ; +0x1c, 0x140396ddc\nmov     rdx, [rax]                                                     ; +0x1f, 0x140396ddf\ncall    qword ptr [rdx+90h]                                            ; +0x22, 0x140396de2\nmov     rcx, rax                                                       ; +0x28, 0x140396de8\nmov     rdx, rbx                                                       ; +0x2b, 0x140396deb\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x2e, 0x140396dee\nmov     rcx, rbx                                                       ; +0x34, 0x140396df4\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x37, 0x140396df7\nmov     rcx, rbx                                                       ; +0x3d, 0x140396dfd\ncall    cs:?unscheduleAllSelectors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x40, 0x140396e00\nmov     rax, [rbx]                                                     ; +0x46, 0x140396e06\nxor     edx, edx                                                       ; +0x49, 0x140396e09\nmov     rcx, rbx                                                       ; +0x4b, 0x140396e0b\ncall    qword ptr [rax+3E0h]                                           ; +0x4e, 0x140396e0e\nmov     rax, [rbx]                                                     ; +0x54, 0x140396e14\nmov     dl, 1                                                          ; +0x57, 0x140396e17\nmov     rcx, rbx                                                       ; +0x59, 0x140396e19\ncall    qword ptr [rax+208h]                                           ; +0x5c, 0x140396e1c\nmov     [rsp+28h+arg_0], 0FFFFh                                        ; +0x62, 0x140396e22\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x69, 0x140396e29\nmovzx   eax, [rsp+28h+arg_0]                                           ; +0x6e, 0x140396e2e\nmov     [rsp+28h+arg_0], ax                                            ; +0x73, 0x140396e33\nmov     rax, [rbx+2A8h]                                                ; +0x78, 0x140396e38\nmov     [rsp+28h+arg_2], 0FFh                                          ; +0x7f, 0x140396e3f\nmov     rcx, [rax+2A0h]                                                ; +0x84, 0x140396e44\nadd     rcx, 140h                                                      ; +0x8b, 0x140396e4b\nmov     rax, [rcx]                                                     ; +0x92, 0x140396e52\ncall    qword ptr [rax]                                                ; +0x95, 0x140396e55\nadd     rsp, 20h                                                       ; +0x97, 0x140396e57\npop     rbx                                                            ; +0x9b, 0x140396e5b\nretn                                                                   ; +0x9c, 0x140396e5c", "xrefs": ["GJPathPage::unlockAnimationFinished @ 0x140396cff", "GJPathPage::keyBackClicked @ 0x140396e69", "GJPathPage::init @ 0x1403938b4", "<???> @ 0x140923114"], "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"}