// // sub_58720 from 0x58720 to 0x58764 (68 bytes) // // 1 xrefs: // > FMOD::System::getAdvancedSettings @ 0xb7a7c // // 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_58720(int a1, int *a2) { int v3; // r5 int result; // r0 int v6; // r6 if ( !a2 ) return 31; v3 = *a2; result = 31; if ( (unsigned int)(*a2 - 41) <= 0x33 && (v3 & 3) == 0 ) { if ( (unsigned int)a2[8] > 0x20 ) return 31; v6 = a2[10]; qmemcpy(a2, (const void *)(a1 + 68672), *a2); a2[10] = v6; *a2 = v3; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source