// // sub_1005AEC10 from 0x1005aec10 to 0x1005aed30 (288 bytes) // // 1 xrefs: // > sub_1005AEF14 @ 0x1005aef58 // // 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_1005AEC10(__int64 a1, __int64 *a2) { __int64 *v4; // x0 int v5; // w8 _DWORD *v6; // x21 int v7; // w8 __int64 result; // x0 v4 = *(__int64 **)a1; if ( !v4 || !*(_QWORD *)(a1 + 8) ) { sub_1005E0E48(3, 103, 107, "bn_blind.c", 196); result = 0; v6 = (_DWORD *)(a1 + 56); goto LABEL_17; } v6 = (_DWORD *)(a1 + 56); v5 = *(_DWORD *)(a1 + 56); if ( v5 == -1 ) { *v6 = 1; } else { v7 = v5 + 1; *v6 = v7; if ( v7 == 32 && *(_QWORD *)(a1 + 16) && (*(_BYTE *)(a1 + 64) & 2) == 0 ) { if ( !sub_1005AED30(a1, 0, 0, a2, 0, 0) ) { result = 0; goto LABEL_17; } goto LABEL_14; } } if ( (*(_BYTE *)(a1 + 64) & 1) != 0 ) { LABEL_14: result = 1; goto LABEL_17; } if ( sub_1005AD2C8((__int64)v4, v4, v4, *(_QWORD *)(a1 + 24), a2) ) { if ( sub_1005AD2C8(*(_QWORD *)(a1 + 8), *(__int64 **)(a1 + 8), *(__int64 **)(a1 + 8), *(_QWORD *)(a1 + 24), a2) ) goto LABEL_14; result = 0; } else { result = 0; } LABEL_17: if ( *v6 == 32 ) *v6 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source