// // PlayLayer::toggleProgressbar from 0x700350 to 0x7004e4 (404 bytes) // // 2 xrefs: // > @ 0xed058 // > @ 0x1428a60 // // 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:52:02 +0000 // __int64 __fastcall PlayLayer::toggleProgressbar(PlayLayer *this) { char *v2; // x24 unsigned __int8 *v3; // x0 unsigned int v4; // w22 GameManager *v5; // x0 float v6; // s9 unsigned int GameVariable; // w25 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x0 __int64 v10; // x23 void (__fastcall *v11)(__int64, _BYTE *); // x26 __int64 v12; // x0 __int64 v13; // x23 float v14; // s0 void (__fastcall *v15)(__int64, _BYTE *); // x26 GameManager *v17; // x0 float v18; // [xsp+60h] [xbp+60h] __int64 v19; // [xsp+78h] [xbp+78h] BYREF _BYTE v20[8]; // [xsp+80h] [xbp+80h] BYREF v2 = (char *)this + 0x2000; v3 = (unsigned __int8 *)GameManager::sharedState(_stack_chk_guard); v4 = v3[924]; if ( v2[4046] ) { v5 = (GameManager *)GameManager::sharedState((GameManager *)v3); v4 = 0; v6 = 0.0; GameVariable = (unsigned __int8)GameManager::getGameVariable(v5, "0145"); } else { v17 = (GameManager *)GameManager::sharedState((GameManager *)v3); v6 = 0.0; GameVariable = (unsigned __int8)GameManager::getGameVariable(v17, "0040"); if ( v4 ) v6 = 110.0; } v8 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 1794) + 344LL))( *((_QWORD *)this + 1794), v4); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(&v19, v9); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 1792) + 344LL))(*((_QWORD *)this + 1792), GameVariable); v10 = *((_QWORD *)this + 1792); v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 184LL); v18 = v6 + (float)(*(float *)&v19 * 0.5); v12 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 192LL))(v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v18, *(float *)(v12 + 4)); v11(v10, v20); v13 = *((_QWORD *)this + 1792); v14 = 0.0; v15 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 296LL); if ( !v4 && !v2[4046] ) v14 = 0.5; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v14, 0.5); v15(v13, v20); PlayLayer::updateProgressbar(this); if ( GameVariable && v2[4046] ) GJBaseGameLayer::updatePlatformerTime(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source