// // sub_1005B04B4 from 0x1005b04b4 to 0x1005b0578 (196 bytes) // // 1 xrefs: // > @ 0x1009d9598 // // 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:10 +0000 // __int64 __fastcall sub_1005B04B4(__int64 *a1) { __int64 v1; // x19 __int64 v2; // x8 __int64 v3; // x20 __int64 v4; // x8 v1 = *a1; v2 = *(_QWORD *)(*a1 + 232); if ( *(int *)(v2 + 96) >= 1 ) { v3 = 0; do { v4 = *(_QWORD *)(*(_QWORD *)(v2 + 104) + 8 * v3); if ( *(_DWORD *)v4 == 2 ) { sub_1005CDC30(v1, v3, *(_DWORD *)(v4 + 48) != 0); } else if ( !*(_DWORD *)v4 ) { sub_1005CDB48(v1, v3, *(float *)(v4 + 56)); } ++v3; v2 = *(_QWORD *)(v1 + 232); } while ( v3 < *(int *)(v2 + 96) ); } *(_QWORD *)(v1 + 848) = 0; *(_OWORD *)(v1 + 556) = 0u; *(_OWORD *)(v1 + 572) = 0u; *(_OWORD *)(v1 + 588) = 0u; *(_OWORD *)(v1 + 604) = 0u; *(_OWORD *)(v1 + 620) = 0u; *(_OWORD *)(v1 + 636) = 0u; *(_OWORD *)(v1 + 652) = 0u; *(_OWORD *)(v1 + 668) = 0u; *(_OWORD *)(v1 + 684) = 0u; *(_OWORD *)(v1 + 700) = 0u; *(_OWORD *)(v1 + 716) = 0u; *(_OWORD *)(v1 + 732) = 0u; *(_OWORD *)(v1 + 748) = 0u; *(_OWORD *)(v1 + 764) = 0u; *(_OWORD *)(v1 + 780) = 0u; *(_OWORD *)(v1 + 796) = 0u; *(_BYTE *)(v1 + 836) = 1; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source