// // PlayLayer::dtCommitPlaytime from 0x1009603b0 to 0x100960445 (149 bytes) // // 4 xrefs: // > PlayLayer::onQuit @ 0x10008049d // > PlayLayer::levelComplete @ 0x10008152f // > PlayLayer::destroyPlayer @ 0x100087c3b // > PlayLayer::pauseGame @ 0x10008d9c7 // // 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:38:45 +0000 // char __fastcall PlayLayer::dtCommitPlaytime(__int64 a1) { int v1; // eax const __m128i *v2; // r14 signed int v3; // eax __int64 v4; // rcx long double v6; // [rsp+0h] [rbp-10h] LOBYTE(v1) = PlayLayer::tracksPercent(a1); if ( (_BYTE)v1 && !*(_BYTE *)(a1 + 14185) && !*(_BYTE *)(a1 + 14186) && !*(_BYTE *)(a1 + 12236) ) { if ( !*(_BYTE *)(a1 + 12544) ) { v2 = *(const __m128i **)(a1 + 1936); v3 = lround(v6); GJGameLevel::addPlaytime(v2, v3); } *(_QWORD *)(a1 + 14472) = *(_QWORD *)(a1 + 14704); v1 = time(nullptr); v4 = *(_QWORD *)(a1 + 1936); *(_DWORD *)(v4 + 1644) = v1; if ( !*(_DWORD *)(v4 + 1640) ) *(_DWORD *)(v4 + 1640) = v1; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source