// // sub_1003DCD34 from 0x1003dcd34 to 0x1003dcdd8 (164 bytes) // // 2 xrefs: // > PlayLayer::levelComplete @ 0x100142f0c // > PlayLayer::destroyPlayer @ 0x100148158 // // 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 11:04:19 +0000 // bool __fastcall sub_1003DCD34(_DWORD *a1) { int Stat; // w0 int v3; // w8 float v4; // s8 float v5; // s9 int v6; // w20 float v7; // s0 Stat = GameStatsManager::getStat((__int64)a1, "22"); v3 = a1[192] - a1[193]; v4 = (float)v3; v5 = floorf((float)Stat / 500.0); if ( v5 > (float)v3 ) { v6 = v3 + 1; a1[194] = v3 + 1; v7 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; a1[193] = (int)v7; a1[192] = v6 + (int)v7; GameStatsManager::incrementStat((__int64)a1, "21", 1); } return v5 > v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source