// // PlayLayer::dtCommitPlaytime from 0x72c8c0 to 0x72c942 (130 bytes) // // 4 xrefs: // > PlayLayer::pauseGame @ 0x4025ec // > PlayLayer::destroyPlayer @ 0x405ab8 // > PlayLayer::onQuit @ 0x407ae8 // > PlayLayer::levelComplete @ 0x40816c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:58:16 +0000 // int __fastcall PlayLayer::dtCommitPlaytime(PlayLayer *this) { int result; // r0 _DWORD *v3; // r7 int v4; // r0 int v5; // r5 int v6; // r3 result = PlayLayer::tracksPercent(this); if ( result && !*((_BYTE *)this + 11797) && !*((_BYTE *)this + 11798) && !*((_BYTE *)this + 10612) ) { if ( !*((_BYTE *)this + 10784) ) { v3 = *((_DWORD **)this + 352); v4 = lround(); GJGameLevel::addPlaytime(v3, v4); } *((_QWORD *)this + 1499) = *((_QWORD *)this + 1520); v5 = *((_DWORD *)this + 352); result = time(nullptr); *(_DWORD *)(v5 + 1244) = result; v6 = *((_DWORD *)this + 352); if ( !*(_DWORD *)(v6 + 1240) ) *(_DWORD *)(v6 + 1240) = *(_DWORD *)(v6 + 1244); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source