// // cocos2d::CCDirector::popSceneWithTransition from 0x1800c2440 to 0x1800c251f (223 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c34ec // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:25 +0000 // char __fastcall cocos2d::CCDirector::popSceneWithTransition(__int64 a1, float a2, int a3) { int v6; // eax cocos2d::CCArray *v7; // rcx struct cocos2d::CCScene *v8; // rax struct cocos2d::CCTransitionMoveInT *v9; // rax if ( *(_BYTE *)(a1 + 176) ) return 0; if ( *(_QWORD *)(a1 + 96) && *(struct cocos2d::CCObject **)(a1 + 96) == cocos2d::CCArray::lastObject(*(cocos2d::CCArray **)(a1 + 296)) ) { *(_QWORD *)(a1 + 96) = 0; } cocos2d::CCArray::removeLastObject(*(cocos2d::CCArray **)(a1 + 296), 1u); v6 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 296)); if ( v6 ) { v7 = *(cocos2d::CCArray **)(a1 + 296); *(_BYTE *)(a1 + 288) = 1; v8 = cocos2d::CCArray::stringAtIndex(v7, v6 - 1); *(_QWORD *)(a1 + 280) = v8; if ( a3 == 1 ) v9 = cocos2d::CCTransitionMoveInT::create(a2, v8); else v9 = cocos2d::CCTransitionFade::create(a2, v8); *(_QWORD *)(a1 + 280) = v9; *(_BYTE *)(a1 + 176) = 1; return 1; } else { *(_BYTE *)(a1 + 184) = 1; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source