// // sub_41324C from 0x41324c to 0x4132f0 (164 bytes) // // 2 xrefs: // > GameStatsManager::createReward @ 0x41331a // > GameStatsManager::isSecretCoinValid @ 0x4133f2 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_41324C(_DWORD *a1, char *a2, int a3) { int v6; // r7 int v7; // r0 int v8; // r10 int v9; // r8 int v10; // r0 _DWORD v12[3]; // [sp+0h] [bp-Ch] BYREF v12[0] = a1; v12[1] = a2; v12[2] = a3; v6 = 0; v7 = sub_774A78((int)a1, a2); v8 = *(_DWORD *)(*a1 - 12); v9 = v7; while ( 1 ) { sub_776158(v12, a1, v6, v9 - v6); if ( *(_DWORD *)(v12[0] - 12) || v6 != v8 ) { v10 = *(_DWORD *)(a3 + 4); if ( v10 == *(_DWORD *)(a3 + 8) ) { std::vector::_M_emplace_back_aux(a3, (int)v12); } else { if ( v10 ) sub_775C20(v10); *(_DWORD *)(a3 + 4) += 4; } } if ( v9 == -1 ) break; v6 = v9 + 1; v9 = sub_774A78((int)a1, a2); sub_774008(v12); } return sub_774008(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source