// // PlayLayer::dtCommitPlaytime from 0xc3638c to 0xc36438 (172 bytes) // // 5 xrefs: // > PlayLayer::pauseGame @ 0x6f7258 // > PlayLayer::destroyPlayer @ 0x6ff360 // > PlayLayer::onQuit @ 0x7036b4 // > PlayLayer::levelComplete @ 0x703bb8 // > @ 0xc0910 // // 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 13:04:51 +0000 // __int64 __fastcall PlayLayer::dtCommitPlaytime(PlayLayer *this) { __int64 result; // x0 __int64 v3; // x20 _DWORD *v4; // x20 int v5; // w0 result = (unsigned __int8)PlayLayer::tracksPercent(this); if ( (_BYTE)result ) { result = (__int64)this + 12288; if ( !*((_BYTE *)this + 14185) && !*((_BYTE *)this + 14186) && !*((_BYTE *)this + 12236) ) { if ( !*((_BYTE *)this + 12544) ) { v4 = *((_DWORD **)this + 242); v5 = lround(*((double *)this + 1838) - *((double *)this + 1809)); GJGameLevel::addPlaytime(v4, v5); } v3 = *((_QWORD *)this + 242); *((_QWORD *)this + 1809) = *((_QWORD *)this + 1838); *(_DWORD *)(v3 + 1644) = time(nullptr); result = *((_QWORD *)this + 242); if ( !*(_DWORD *)(result + 1640) ) *(_DWORD *)(result + 1640) = *(_DWORD *)(result + 1644); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source