// // sub_18010A4A0 from 0x18010a4a0 to 0x18010a58f (239 bytes) // // 4 xrefs: // > @ 0x180190580 // > @ 0x180190590 // > @ 0x1801b08c0 // > @ 0x1802017d8 // // 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_18010A4A0(__int64 *a1) { __int64 v1; // rbx __int64 v2; // rcx __int64 result; // rax __int64 v4; // rax unsigned int v5; // edi __int64 v6; // rsi float *v7; // rdx __int64 v8; // rcx v1 = *a1; v2 = *(_QWORD *)(*a1 + 168); *(_DWORD *)(v1 + 548) = 0; *(_DWORD *)(v1 + 552) = 1065353216; result = sub_180100F40(v2, 0, (_QWORD *)(v1 + 576)); if ( !(_DWORD)result ) { _InterlockedOr((volatile signed __int32 *)(v1 + 100), 0x10u); v4 = *(_QWORD *)(v1 + 232); v5 = 0; if ( *(int *)(v4 + 96) > 0 ) { v6 = 0; while ( 1 ) { v7 = *(float **)(v6 + *(_QWORD *)(v4 + 104)); if ( !*(_DWORD *)v7 ) break; if ( *(_DWORD *)v7 == 1 ) { result = sub_18009C140(v1, v5, *((_DWORD *)v7 + 14)); goto LABEL_10; } if ( *(_DWORD *)v7 == 2 ) { result = sub_18009BC60(v1, v5, *((_DWORD *)v7 + 12) != 0); goto LABEL_10; } LABEL_11: v4 = *(_QWORD *)(v1 + 232); ++v5; v6 += 8; if ( (signed int)v5 >= *(_DWORD *)(v4 + 96) ) goto LABEL_12; } result = sub_18009C0C0(v1, v5, v7[14]); LABEL_10: if ( (_DWORD)result ) return result; goto LABEL_11; } LABEL_12: v8 = *(_QWORD *)(v1 + 168); *(_QWORD *)(v1 + 640) = 0; return sub_1800E1DB0(v8, (_QWORD *)(v1 + 648)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source