// // LevelPage::playStep3 from 0x8c8524 to 0x8c86e0 (444 bytes) // // 3 xrefs: // > @ 0x74428 // > LevelPage::playStep2 @ 0x8c3d60 // > @ 0x1542ed0 // // This function is hookable on this platform (idp: arm, 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 12:56:35 +0000 // __int64 __fastcall LevelPage::playStep3(LevelPage *this) { GameManager *v2; // x0 LocalLevelManager *v4; // x0 LocalLevelManager *v5; // x0 __int64 v6; // x21 unsigned __int8 v7; // w3 size_t v8; // x6 _BYTE *v9; // x7 unsigned __int64 v10; // x1 void *v11; // x3 cocos2d::CCDirector *v12; // x0 cocos2d::CCDirector *v13; // x21 AppDelegate *v14; // x0 cocos2d::CCScene *v15; // x1 cocos2d::CCScene *v16; // x0 __int64 v17; // x3 size_t v18; // [xsp+48h] [xbp+48h] unsigned __int8 v19; // [xsp+50h] [xbp+50h] BYREF _BYTE v20[15]; // [xsp+51h] [xbp+51h] BYREF void *v21; // [xsp+60h] [xbp+60h] v2 = (GameManager *)*(unsigned __int8 *)(cocos2d::CCDirector::sharedDirector(_stack_chk_guard) + 176); if ( (_DWORD)v2 ) { *((_BYTE *)this + 416) = 0; s_didClick = 0; return _stack_chk_guard; } v4 = (LocalLevelManager *)GameManager::sharedState(v2); *((_DWORD *)v4 + 177) = 9; v5 = (LocalLevelManager *)LocalLevelManager::sharedState(v4); v6 = *((_QWORD *)this + 53); LocalLevelManager::getMainLevelString(v5, *(_DWORD *)(v6 + 328) - *(_DWORD *)(v6 + 332)); if ( (unsigned __int8 *)(v6 + 392) != &v19 ) { if ( (v19 & 1) != 0 ) { v7 = *(_BYTE *)(v6 + 392); v9 = v21; v8 = *(_QWORD *)&v20[7]; if ( (v7 & 1) != 0 ) goto LABEL_7; } else { v7 = *(_BYTE *)(v6 + 392); v8 = v19 >> 1; v9 = v20; if ( (v7 & 1) != 0 ) { LABEL_7: v10 = (*(_QWORD *)(v6 + 392) & 0xFFFFFFFFFFFFFFFELL) - 1; if ( v8 <= v10 ) { v11 = *(void **)(v6 + 408); LABEL_9: if ( v8 ) { v18 = v8; v11 = memmove(v11, v9, v8); v8 = v18; } *((_BYTE *)v11 + v8) = 0; if ( (*(_BYTE *)(v6 + 392) & 1) != 0 ) *(_QWORD *)(v6 + 400) = v8; else *(_BYTE *)(v6 + 392) = 2 * v8; goto LABEL_13; } v17 = *(_QWORD *)(v6 + 400); LABEL_20: std::string::__grow_by_and_replace(v6 + 392, v10, v8 - v10, v17, 0, v17, v8, v9); goto LABEL_13; } } if ( v8 <= 0x16 ) { v11 = (void *)(v6 + 393); goto LABEL_9; } v17 = v7 >> 1; v10 = 22; goto LABEL_20; } LABEL_13: v12 = (cocos2d::CCDirector *)v19; if ( (v19 & 1) != 0 ) operator delete(v21); v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); v14 = PlayLayer::scene(*((PlayLayer **)this + 53), nullptr); v16 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v14, 0.5, v15); cocos2d::CCDirector::replaceScene(v13, v16); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source