// // sub_10044E164 from 0x10044e164 to 0x10044e290 (300 bytes) // // 1 xrefs: // > @ 0x1008273e8 // // 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 // __int64 __fastcall sub_10044E164(__int64 a1, int32x2_t *a2) { __int64 result; // x0 __int64 v5; // x20 int v6; // w9 __int32 v7; // w8 int v8; // w10 __int64 v9; // x9 __int64 v10; // x8 switch ( a2[1].i8[1] ) { case 0: result = sub_10044E290(a1, a2); if ( !(_DWORD)result ) return 0; return result; case 1: v5 = *(_QWORD *)(a1 + 56); sub_1004B5C70(v5); if ( !*(_DWORD *)(a1 + 116) ) goto LABEL_19; v6 = *(_DWORD *)(a1 + 88); if ( !v6 ) goto LABEL_19; v7 = a2[1].i32[1]; v8 = *(_DWORD *)(*(_QWORD *)(a1 + 80) + 4LL * (v7 & (v6 - 1))); if ( v8 == -1 ) goto LABEL_19; v9 = *(_QWORD *)(a1 + 96); break; case 2: result = sub_10044E53C(a1, a2); if ( !(_DWORD)result ) return 0; return result; case 3: result = sub_10044E720(a1, a2); if ( !(_DWORD)result ) return 0; return result; case 4: result = sub_10044E818(a1, a2); if ( !(_DWORD)result ) return 0; return result; default: return 0; } while ( *(_DWORD *)(v9 + 16LL * v8) != v7 ) { v8 = *(_DWORD *)(v9 + 16LL * v8 + 4); if ( v8 == -1 ) goto LABEL_19; } v10 = *(_QWORD *)(v9 + 16LL * v8 + 8); if ( v10 ) { *(int32x2_t *)(v10 + 20) = vrev64_s32(a2[2]); sub_1004B5DD4(*(_QWORD *)(v10 + 8)); } LABEL_19: sub_1004B5CA0(v5); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source