{"type": "func", "start": 5372778976, "end": 5372779068, "name": "LevelAreaInnerLayer::onBack", "pseudocode": "// \n// LevelAreaInnerLayer::onBack from 0x1403e19e0 to 0x1403e1a3c (92 bytes)\n// \n// 4 xrefs:\n// > LevelAreaInnerLayer::init @ 0x1403df8f0\n// > <???> @ 0x1408c46e8\n// > <???> @ 0x1408c46f8\n// > <???> @ 0x140924e30\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:41 +0000\n// \n\nvoid __fastcall LevelAreaInnerLayer::onBack(_BYTE *a1)\n{\n  __int64 v1; // rdx\n  __int64 v2; // rcx\n  __int64 v3; // r8\n  __int64 v4; // r9\n  struct cocos2d::CCScene *v5; // rax\n  struct cocos2d::CCScene *v6; // rbx\n  __int64 v7; // rcx\n  cocos2d::CCDirector *v8; // rax\n\n  if ( !a1[424] )\n  {\n    (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n    v5 = (struct cocos2d::CCScene *)LevelAreaLayer::scene(v2, v1, v3, v4);\n    v6 = cocos2d::CCTransitionFade::create(0.5, v5);\n    v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7);\n    cocos2d::CCDirector::replaceScene(v8, v6);\n  }\n}", "assembly": "; \n; LevelAreaInnerLayer::onBack from 0x1403e19e0 to 0x1403e1a3c (92 bytes)\n; \n; 4 xrefs:\n; > LevelAreaInnerLayer::init @ 0x1403df8f0\n; > <???> @ 0x1408c46e8\n; > <???> @ 0x1408c46f8\n; > <???> @ 0x140924e30\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:41 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1403e19e0\ncmp     byte ptr [rcx+1A8h], 0                                         ; +0x4, 0x1403e19e4\njnz     short loc_1403E1A37                                            ; +0xb, 0x1403e19eb\nmov     rax, [rcx]                                                     ; +0xd, 0x1403e19ed\nxor     edx, edx                                                       ; +0x10, 0x1403e19f0\nmov     [rsp+28h+var_8], rbx                                           ; +0x12, 0x1403e19f2\ncall    qword ptr [rax+3E0h]                                           ; +0x17, 0x1403e19f7\ncall    LevelAreaLayer__scene                                          ; +0x1d, 0x1403e19fd\nmovss   xmm0, cs:dword_140834F20                                       ; +0x22, 0x1403e1a02\nmov     rdx, rax                                                       ; +0x2a, 0x1403e1a0a\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x2d, 0x1403e1a0d\nmov     rbx, rax                                                       ; +0x33, 0x1403e1a13\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x36, 0x1403e1a16\nmov     rcx, rax                                                       ; +0x3c, 0x1403e1a1c\nmov     rdx, rbx                                                       ; +0x3f, 0x1403e1a1f\nmov     rbx, [rsp+28h+var_8]                                           ; +0x42, 0x1403e1a22\nadd     rsp, 28h                                                       ; +0x47, 0x1403e1a27\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x4b, 0x1403e1a2b\nmov     rbx, [rsp+28h+var_8]                                           ; +0x52, 0x1403e1a32\nadd     rsp, 28h                                                       ; +0x57, 0x1403e1a37\nretn                                                                   ; +0x5b, 0x1403e1a3b", "xrefs": ["LevelAreaInnerLayer::init @ 0x1403df8f0", "<???> @ 0x1408c46e8", "<???> @ 0x1408c46f8", "<???> @ 0x140924e30"], "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"}