{"type": "func", "start": 5371627344, "end": 5371627443, "name": "LevelAreaInnerLayer::keyBackClicked", "pseudocode": "// \n// LevelAreaInnerLayer::keyBackClicked from 0x1402c8750 to 0x1402c87b3 (99 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x140583a68\n// > <???> @ 0x14068d22c\n// > <???> @ 0x14068d23c\n// > <???> @ 0x1406d2c00\n// > <???> @ 0x1406d2c0c\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 LevelAreaInnerLayer::keyBackClicked(LevelAreaInnerLayer *a1)\n{\n  char *p_y; // rcx\n  struct cocos2d::CCScene *v2; // rax\n  struct cocos2d::CCTransitionFade *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n\n  p_y = (char *)&a1[-1].m_obAnchorPoint.y;\n  if ( !p_y[424] )\n  {\n    (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)p_y + 976LL))(p_y, 0);\n    v2 = LevelAreaLayer::scene();\n    v3 = cocos2d::CCTransitionFade::create(0.5, v2);\n    v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n    cocos2d::CCDirector::replaceScene(v5, v3);\n  }\n}", "assembly": "; \n; LevelAreaInnerLayer::keyBackClicked from 0x1402c8750 to 0x1402c87b3 (99 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x140583a68\n; > <???> @ 0x14068d22c\n; > <???> @ 0x14068d23c\n; > <???> @ 0x1406d2c00\n; > <???> @ 0x1406d2c0c\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, 0x1402c8750\nadd     rcx, 0FFFFFFFFFFFFFEB0h                                        ; +0x4, 0x1402c8754\ncmp     byte ptr [rcx+1A8h], 0                                         ; +0xb, 0x1402c875b\njnz     short loc_1402C87AE                                            ; +0x12, 0x1402c8762\nmov     rax, [rcx]                                                     ; +0x14, 0x1402c8764\nxor     edx, edx                                                       ; +0x17, 0x1402c8767\nmov     [rsp+28h+var_8], rbx                                           ; +0x19, 0x1402c8769\ncall    qword ptr [rax+3D0h]                                           ; +0x1e, 0x1402c876e\ncall    LevelAreaLayer__scene                                          ; +0x24, 0x1402c8774\nmovss   xmm0, cs:dword_140622B08                                       ; +0x29, 0x1402c8779\nmov     rdx, rax                                                       ; +0x31, 0x1402c8781\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x34, 0x1402c8784\nmov     rbx, rax                                                       ; +0x3a, 0x1402c878a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3d, 0x1402c878d\nmov     rcx, rax                                                       ; +0x43, 0x1402c8793\nmov     rdx, rbx                                                       ; +0x46, 0x1402c8796\nmov     rbx, [rsp+28h+var_8]                                           ; +0x49, 0x1402c8799\nadd     rsp, 28h                                                       ; +0x4e, 0x1402c879e\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x52, 0x1402c87a2\nmov     rbx, [rsp+28h+var_8]                                           ; +0x59, 0x1402c87a9\nadd     rsp, 28h                                                       ; +0x5e, 0x1402c87ae\nretn                                                                   ; +0x62, 0x1402c87b2", "xrefs": ["<???> @ 0x140583a68", "<???> @ 0x14068d22c", "<???> @ 0x14068d23c", "<???> @ 0x1406d2c00", "<???> @ 0x1406d2c0c"], "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"}