// // PlayLayer::toggleProgressbar from 0x140511200 to 0x1405113a6 (422 bytes) // // 2 xrefs: // > @ 0x1407d5f40 // > @ 0x14092ab84 // // 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:33:31 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall PlayLayer::toggleProgressbar(__int64 a1) { __int64 v2; // rcx unsigned __int8 v3; // bp float v4; // xmm6_4 float v5; // xmm7_4 char *v6; // rdx bool GameVariable; // r14 __int64 v8; // rcx __int64 v9; // rax __int64 *v10; // rcx __int64 v11; // rdi __int64 v12; // rax __int64 v13; // rbx __int64 v14; // rax __int64 v15; // rdi __int64 v16; // rbx __int64 v17; // rax __int64 v18; // rdx __int64 v19; // r8 __int64 v20; // r9 float v21; // [rsp+60h] [rbp+8h] BYREF void *v22; // [rsp+68h] [rbp+10h] BYREF v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v22 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v22); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } v3 = *(_BYTE *)(v2 + 956); v4 = 0.0; if ( *(_BYTE *)(a1 + 12670) ) { v3 = 0; v5 = 0.0; v6 = "0145"; } else { v5 = (float)(v3 != 0 ? 0x6E : 0); v6 = "0040"; } GameVariable = GameManager::getGameVariable(v2, v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 15008) + 336LL))(*(_QWORD *)(a1 + 15008), v3); v9 = cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(v9, &v21); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 14992) + 336LL))(*(_QWORD *)(a1 + 14992), GameVariable); v10 = *(__int64 **)(a1 + 14992); v11 = *v10; v12 = (*(__int64 (__fastcall **)(__int64 *))(*v10 + 200))(v10); v13 = *(_QWORD *)(a1 + 14992); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, (float)(v21 * 0.5) + v5, *(float *)(v12 + 4)); (*(void (__fastcall **)(__int64, __int64))(v11 + 184))(v13, v14); if ( !v3 && !*(_BYTE *)(a1 + 12670) ) v4 = 0.5; v15 = **(_QWORD **)(a1 + 14992); v16 = *(_QWORD *)(a1 + 14992); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, v4, 0.5); (*(void (__fastcall **)(__int64, __int64))(v15 + 288))(v16, v17); PlayLayer::updateProgressbar(a1); if ( *(_BYTE *)(a1 + 12670) ) { if ( GameVariable ) GJBaseGameLayer::updatePlatformerTime(a1, v18, v19, v20); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source