{"type": "func", "start": 5369260432, "end": 5369260490, "name": "ChallengesPage::onClose", "pseudocode": "// \n// ChallengesPage::onClose from 0x140086990 to 0x1400869ca (58 bytes)\n// \n// 3 xrefs:\n// > ChallengesPage::init @ 0x1400855ed\n// > DailyLevelPage::init @ 0x1400cf150\n// > <???> @ 0x1406c6c84\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// Merged with: ChallengesPage::onClose, DailyLevelPage::onClose\n__int64 __fastcall ChallengesPage::onClose(cocos2d::CCNode *a1)\n{\n  __int64 v2; // rdx\n\n  cocos2d::CCNode::stopAllActions(a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->__vftable[1].setVertexZ)(a1, 0);\n  LOBYTE(v2) = 1;\n  return ((__int64 (__fastcall *)(cocos2d::CCNode *, __int64))a1->removeFromParentAndCleanup)(a1, v2);\n}", "assembly": "; \n; ChallengesPage::onClose from 0x140086990 to 0x1400869ca (58 bytes)\n; \n; 3 xrefs:\n; > ChallengesPage::init @ 0x1400855ed\n; > DailyLevelPage::init @ 0x1400cf150\n; > <???> @ 0x1406c6c84\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, 0x140086990\nsub     rsp, 20h                                                       ; +0x2, 0x140086992\nmov     rbx, rcx                                                       ; +0x6, 0x140086996\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x9, 0x140086999\nmov     rcx, rbx                                                       ; +0xf, 0x14008699f\ncall    cs:?unscheduleAllSelectors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x12, 0x1400869a2\nmov     rax, [rbx]                                                     ; +0x18, 0x1400869a8\nxor     edx, edx                                                       ; +0x1b, 0x1400869ab\nmov     rcx, rbx                                                       ; +0x1d, 0x1400869ad\ncall    qword ptr [rax+3D0h]                                           ; +0x20, 0x1400869b0\nmov     rax, [rbx]                                                     ; +0x26, 0x1400869b6\nmov     dl, 1                                                          ; +0x29, 0x1400869b9\nmov     rcx, rbx                                                       ; +0x2b, 0x1400869bb\nadd     rsp, 20h                                                       ; +0x2e, 0x1400869be\npop     rbx                                                            ; +0x32, 0x1400869c2\njmp     qword ptr [rax+1F8h]                                           ; +0x33, 0x1400869c3", "xrefs": ["ChallengesPage::init @ 0x1400855ed", "DailyLevelPage::init @ 0x1400cf150", "<???> @ 0x1406c6c84"], "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"}