// // GameManager::setPlayerColor from 0x41337c to 0x4133ae (50 bytes) // // 3 xrefs: // > GameManager::resetAllIcons @ 0x414d0a // > GameManager::checkUsedIcons @ 0x418fe2 // > GameManager::dataLoaded @ 0x41c2d2 // // 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:47:38 +0000 // unsigned int __fastcall GameManager::setPlayerColor(GameManager *this, int a2) { unsigned int result; // r0 int v5; // s15 *((_DWORD *)this + 155) = a2; result = rand(); v5 = (int)(float)(vcvts_n_f32_s32(result, 0x1Fu) * 1000.0); *((_DWORD *)this + 154) = v5; *((_DWORD *)this + 153) = v5 + a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source