// // sub_1005B9FFC from 0x1005b9ffc to 0x1005ba0f4 (248 bytes) // // 1 xrefs: // > sub_1005BA4B4 @ 0x1005ba4b8 // // 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:09:15 +0000 // __int64 __fastcall sub_1005B9FFC(__int64 a1) { __int64 v1; // x8 unsigned int v2; // w9 unsigned int v3; // w10 int v4; // w9 __int64 v5; // x8 __int64 i; // x20 __int64 result; // x0 __int64 v9; // x8 *(_DWORD *)(a1 + 540) = 1; v1 = *(_QWORD *)(a1 + 168) + 70104LL; v2 = *(_DWORD *)v1 ^ (*(_DWORD *)v1 << 11); *(_QWORD *)v1 = *(_QWORD *)(*(_QWORD *)(a1 + 168) + 70108LL); v3 = *(_DWORD *)(v1 + 12); v4 = (v2 >> 8) ^ (v3 >> 19) ^ v2; *(_DWORD *)(v1 + 8) = v3; *(_DWORD *)(v1 + 12) = v4 ^ v3; *(_DWORD *)(a1 + 548) = v4 ^ v3; LODWORD(v1) = v4 ^ ~v3; *(_DWORD *)(a1 + 552) = v1; *(_DWORD *)(a1 + 556) = 572572263 * (v4 ^ v3); *(_DWORD *)(a1 + 560) = -1474208055 * v1; v5 = *(_QWORD *)(a1 + 232); if ( *(int *)(v5 + 96) >= 1 ) { for ( i = 0; i < *(int *)(v5 + 96); ++i ) { v9 = *(_QWORD *)(*(_QWORD *)(v5 + 104) + 8 * i); if ( *(_DWORD *)v9 == 1 ) { result = sub_1005CDBC8(a1, i, *(unsigned int *)(v9 + 56)); if ( (_DWORD)result ) return result; } else if ( !*(_DWORD *)v9 ) { result = sub_1005CDB48(a1, i, *(float *)(v9 + 56)); if ( (_DWORD)result ) return result; } v5 = *(_QWORD *)(a1 + 232); } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source