// // EditLevelLayer::playStep3 from 0x49f4d8 to 0x49f53e (102 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:48 +0000 // unsigned __int8 *__fastcall EditLevelLayer::playStep3(PlayLayer **this) { unsigned __int8 *result; // r0 unsigned int v3; // r5 bool v4; // r2 cocos2d::CCDirector *PersistentCheckpoint; // r0 float v6; // r6 cocos2d::CCArray *v7; // r0 int v8; // r0 cocos2d::CCDirector *v9; // r4 cocos2d::CCScene *v10; // r2 cocos2d::CCScene *v11; // r1 result = (unsigned __int8 *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); v3 = result[140]; if ( !result[140] ) { *(_DWORD *)(GameManager::sharedState((GameManager *)result) + 508) = 3; PersistentCheckpoint = PlayLayer::scene(*(this + 87), (GJGameLevel *)v3, v4); v6 = *(float *)&PersistentCheckpoint; if ( *((_BYTE *)this + 384) ) { v7 = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCDirector *))(*(_DWORD *)PersistentCheckpoint + 244))(PersistentCheckpoint); v8 = cocos2d::CCArray::objectAtIndex(v7, v3); PersistentCheckpoint = (cocos2d::CCDirector *)PlayLayer::loadPersistentCheckpoint(v8, (int)*(this + 87) + 1148); *((_BYTE *)this + 384) = v3; } v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(PersistentCheckpoint); v11 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v6, v10); return (unsigned __int8 *)cocos2d::CCDirector::replaceScene(v9, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source