// // sub_1003B3600 from 0x1003b3600 to 0x1003b3a6c (1132 bytes) // // 4 xrefs: // > sub_1003B2FC8 @ 0x1003b3400 // > GameManager::recountUserStats @ 0x1003b744c // > sub_1003CF854 @ 0x1003cfb44 // > GameStatsManager::recountSpecialStats @ 0x1003d40a0 // // 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:03:55 +0000 // __int64 __fastcall sub_1003B3600(__int64 a1) { __int64 v2; // x0 int v3; // w8 __int64 v4; // x0 float v5; // s0 __int64 v6; // x0 int v7; // w20 float v8; // s0 __int64 v9; // x0 float v10; // s0 __int64 v11; // x0 float v12; // s0 __int64 v13; // x0 float v14; // s0 __int64 v15; // x0 float v16; // s0 __int64 v17; // x0 float v18; // s0 __int64 v19; // x0 float v20; // s0 __int64 v21; // x0 float v22; // s0 __int64 v23; // x0 float v24; // s0 __int64 v25; // x0 float v26; // s0 __int64 v27; // x0 float v28; // s0 __int64 v29; // x0 float v30; // s0 __int64 v31; // x0 float v32; // s0 __int64 v33; // x0 __int64 result; // x0 v2 = GameManager::sharedState(); if ( (GameManager::isColorUnlocked(v2, (unsigned int)(*(_DWORD *)(a1 + 812) - *(_DWORD *)(a1 + 816)), 2) & 1) == 0 ) { *(_DWORD *)(a1 + 820) = 0; v3 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0); *(_DWORD *)(a1 + 816) = v3; *(_DWORD *)(a1 + 812) = v3; } v4 = GameManager::sharedState(); if ( (GameManager::isColorUnlocked(v4, (unsigned int)(*(_DWORD *)(a1 + 824) - *(_DWORD *)(a1 + 828)), 3) & 1) == 0 ) { *(_DWORD *)(a1 + 832) = 3; v5 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 828) = (int)v5; *(_DWORD *)(a1 + 824) = (int)v5 + 3; } v6 = GameManager::sharedState(); if ( (GameManager::isColorUnlocked(v6, (unsigned int)(*(_DWORD *)(a1 + 836) - *(_DWORD *)(a1 + 840)), 3) & 1) == 0 ) { v7 = *(_DWORD *)(a1 + 824) - *(_DWORD *)(a1 + 828); *(_DWORD *)(a1 + 844) = v7; v8 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 840) = (int)v8; *(_DWORD *)(a1 + 836) = v7 + (int)v8; } v9 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v9, (unsigned int)(*(_DWORD *)(a1 + 716) - *(_DWORD *)(a1 + 720)), 0) & 1) == 0 ) { *(_DWORD *)(a1 + 724) = 1; v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 720) = (int)v10; *(_DWORD *)(a1 + 716) = (int)v10 + 1; } v11 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v11, (unsigned int)(*(_DWORD *)(a1 + 728) - *(_DWORD *)(a1 + 732)), 1) & 1) == 0 ) { *(_DWORD *)(a1 + 736) = 1; v12 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 732) = (int)v12; *(_DWORD *)(a1 + 728) = (int)v12 + 1; } v13 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v13, (unsigned int)(*(_DWORD *)(a1 + 884) - *(_DWORD *)(a1 + 888)), 8) & 1) == 0 ) { *(_DWORD *)(a1 + 892) = 1; v14 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 888) = (int)v14; *(_DWORD *)(a1 + 884) = (int)v14 + 1; } v15 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v15, (unsigned int)(*(_DWORD *)(a1 + 740) - *(_DWORD *)(a1 + 744)), 2) & 1) == 0 ) { *(_DWORD *)(a1 + 748) = 1; v16 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 744) = (int)v16; *(_DWORD *)(a1 + 740) = (int)v16 + 1; } v17 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v17, (unsigned int)(*(_DWORD *)(a1 + 752) - *(_DWORD *)(a1 + 756)), 3) & 1) == 0 ) { *(_DWORD *)(a1 + 760) = 1; v18 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 756) = (int)v18; *(_DWORD *)(a1 + 752) = (int)v18 + 1; } v19 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v19, (unsigned int)(*(_DWORD *)(a1 + 764) - *(_DWORD *)(a1 + 768)), 4) & 1) == 0 ) { *(_DWORD *)(a1 + 772) = 1; v20 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 768) = (int)v20; *(_DWORD *)(a1 + 764) = (int)v20 + 1; } v21 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v21, (unsigned int)(*(_DWORD *)(a1 + 776) - *(_DWORD *)(a1 + 780)), 5) & 1) == 0 ) { *(_DWORD *)(a1 + 784) = 1; v22 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 780) = (int)v22; *(_DWORD *)(a1 + 776) = (int)v22 + 1; } v23 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v23, (unsigned int)(*(_DWORD *)(a1 + 788) - *(_DWORD *)(a1 + 792)), 6) & 1) == 0 ) { *(_DWORD *)(a1 + 796) = 1; v24 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 792) = (int)v24; *(_DWORD *)(a1 + 788) = (int)v24 + 1; } v25 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v25, (unsigned int)(*(_DWORD *)(a1 + 800) - *(_DWORD *)(a1 + 804)), 7) & 1) == 0 ) { *(_DWORD *)(a1 + 808) = 1; v26 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 804) = (int)v26; *(_DWORD *)(a1 + 800) = (int)v26 + 1; } v27 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v27, (unsigned int)(*(_DWORD *)(a1 + 848) - *(_DWORD *)(a1 + 852)), 99) & 1) == 0 ) { *(_DWORD *)(a1 + 856) = 1; v28 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 852) = (int)v28; *(_DWORD *)(a1 + 848) = (int)v28 + 1; } v29 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v29, (unsigned int)(*(_DWORD *)(a1 + 860) - *(_DWORD *)(a1 + 864)), 101) & 1) == 0 ) { *(_DWORD *)(a1 + 868) = 1; v30 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 864) = (int)v30; *(_DWORD *)(a1 + 860) = (int)v30 + 1; } v31 = GameManager::sharedState(); if ( (GameManager::isIconUnlocked(v31, (unsigned int)(*(_DWORD *)(a1 + 872) - *(_DWORD *)(a1 + 876)), 98) & 1) == 0 ) { *(_DWORD *)(a1 + 880) = 1; v32 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 876) = (int)v32; *(_DWORD *)(a1 + 872) = (int)v32 + 1; } v33 = GameManager::sharedState(); result = GameManager::isIconUnlocked(v33, 2, 99); if ( (result & 1) == 0 ) *(_BYTE *)(a1 + 912) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source