// // sub_107EF04 from 0x107ef04 to 0x107efd0 (204 bytes) // // 1 xrefs: // > @ 0x1552970 // // 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 13:17:09 +0000 // __int64 __fastcall sub_107EF04(__int64 a1, unsigned int *a2, int a3) { unsigned __int64 v3; // x3 __int64 result; // x0 unsigned int v5; // w3 unsigned int v6; // w1 v3 = a2[52]; if ( (v3 & 4) == 0 || (result = 0, (a2[54] & 4) != 0) ) { if ( a3 ) { if ( (*((_QWORD *)a2 + 26) & 0x400000002LL) == 2 ) { return 0; } else if ( (v3 & 1) != 0 ) { return (v3 >> 4) & 1; } else { result = 3; if ( (a2[52] & 0x2040) != 0x2040 ) { result = 4; if ( (v3 & 2) == 0 ) { result = 0; if ( (v3 & 8) != 0 ) { v6 = a2[55]; if ( (v6 & 7) != 0 ) { if ( (v6 & 2) != 0 ) return 5; else return 0; } } } } } } else { if ( (v3 & 8) == 0 || (v5 = a2[55], (v5 & 0x20) != 0) ) { LODWORD(result) = 1; } else { LODWORD(result) = 2; if ( (v5 & 0x80) == 0 ) return 0; } if ( (*((_QWORD *)a2 + 26) & 0x2000000002LL) == 2 ) return 0; else return (unsigned int)result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source