// // sub_1003B75F0 from 0x1003b75f0 to 0x1003b7684 (148 bytes) // // 1 xrefs: // > SecretLayer2::onSubmit @ 0x1003a8114 // // 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:57 +0000 // float sub_1003B75F0() { int v0; // w20 unsigned int i; // w19 float v2; // s10 __int64 v3; // x19 float result; // s0 v0 = 0; for ( i = 0; i != 7; ++i ) { v2 = roundf((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 8.0) + 1.0); v0 += (int)(float)(__exp10f((float)i) * v2); } v3 = GameManager::sharedState(); result = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(v3 + 908) = (int)result; *(_DWORD *)(v3 + 904) = v0 + (int)result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source