// // PlayLayer::toggleProgressbar from 0x1000872a0 to 0x100087419 (377 bytes) // // 1 xrefs: // > @ 0x100abb118 // // 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 12:20:05 +0000 // void __fastcall PlayLayer::toggleProgressbar(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // rax __int64 v5; // rdx __int64 v6; // rax unsigned __int8 GameVariable; // r14 unsigned __int8 v8; // r15 __int64 v9; // rax int v10; // xmm0_4 __int64 v11; // rdi __int64 v12; // rax __int64 v13; // r12 __int64 v14; // rax __int64 v15; // r12 float v16; // xmm0_4 double v17; // xmm0_8 float v18[2]; // [rsp+4h] [rbp-3Ch] BYREF _BYTE v19[8]; // [rsp+Ch] [rbp-34h] BYREF float v20; // [rsp+14h] [rbp-2Ch] GameManager::sharedState(a1, a2, a3); if ( *(_BYTE *)(a1 + 12238) == 1 ) { GameManager::sharedState(a1, a2, v5); GameVariable = GameManager::getGameVariable(v6, "0145"); v20 = 0.0; v8 = 0; } else { v8 = *(_BYTE *)(v4 + 924); GameManager::sharedState(a1, a2, v5); GameVariable = GameManager::getGameVariable(v9, "0040"); if ( v8 ) *(float *)&v10 = 110.0; else *(float *)&v10 = 0.0; v20 = *(float *)&v10; } v11 = *(_QWORD *)(a1 + 14352); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 344LL))(v11, v8); v12 = cocos2d::CCDirector::sharedDirector(v11, v8); cocos2d::CCDirector::getWinSize(v18, v12); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 14336) + 344LL))(*(_QWORD *)(a1 + 14336), GameVariable); v13 = *(_QWORD *)(a1 + 14336); v20 = (float)(v18[0] * 0.5) + v20; v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 192LL))(v13); sub_100278250(v19, v20, *(float *)(v14 + 4)); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 184LL))(v13, v19); v15 = *(_QWORD *)(a1 + 14336); v16 = 0.0; if ( !v8 && !*(_BYTE *)(a1 + 12238) ) v16 = 0.5; sub_100278250(v19, v16, 0.5); v17 = (*(double (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v15 + 296LL))(v15, v19); PlayLayer::updateProgressbar(a1, v17, COERCE_DOUBLE(1056964608)); if ( (*(_BYTE *)(a1 + 12238) & GameVariable) == 1 ) GJBaseGameLayer::updatePlatformerTime(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source