// // sub_10056EF38 from 0x10056ef38 to 0x10056f040 (264 bytes) // // 1 xrefs: // > sub_10056FD30 @ 0x10056fd34 // // 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:08:17 +0000 // __int64 __fastcall sub_10056EF38(__int64 *a1) { __int64 result; // x0 unsigned int *v3; // x8 unsigned int v4; // w9 __int64 v5; // x8 __int64 i; // x20 float *v7; // x8 float v8; // w9 *(__int64 *)((char *)a1 + 540) = 0x3F80000000000000LL; result = sub_100568874(a1[21], 0, a1 + 71); if ( !(_DWORD)result ) { v3 = (unsigned int *)a1 + 25; do v4 = __ldaxr(v3); while ( __stlxr(v4 | 0x10, v3) ); v5 = a1[29]; if ( *(int *)(v5 + 96) >= 1 ) { for ( i = 0; i < *(int *)(v5 + 96); ++i ) { v7 = *(float **)(*(_QWORD *)(v5 + 104) + 8 * i); v8 = *v7; if ( *(_DWORD *)v7 ) { if ( LODWORD(v8) == 2 ) { result = sub_1005CDC30(a1, i, *((_DWORD *)v7 + 12) != 0); if ( (_DWORD)result ) return result; } else if ( LODWORD(v8) == 1 ) { result = sub_1005CDBC8(a1, i, *((unsigned int *)v7 + 14)); if ( (_DWORD)result ) return result; } } else { result = sub_1005CDB48(a1, i, v7[14]); if ( (_DWORD)result ) return result; } v5 = a1[29]; } } a1[79] = 0; return sub_1005F5860(a1[21], a1 + 80); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source