// // sub_1005DC74C from 0x1005dc74c to 0x1005dc828 (220 bytes) // // 1 xrefs: // > sub_1005FA278 @ 0x1005fa2d4 // // 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:09:37 +0000 // __int64 __fastcall sub_1005DC74C(__int64 a1, __int64 a2) { unsigned int (__fastcall *v2)(__int64, __int64, int *); // x8 signed int v6; // w8 signed int v7; // w2 __int64 v8; // x8 int v9; // w8 int v10; // [xsp+Ch] [xbp-14h] BYREF v2 = *(unsigned int (__fastcall **)(__int64, __int64, int *))(a1 + 1016); if ( v2 ) { if ( !*(_DWORD *)(a2 + 36) || *(_BYTE *)(a2 + 49) ) return 0; v10 = 0; if ( !v2(a1 + 8, a2, &v10) ) { v6 = *(_DWORD *)(a2 + 36); v7 = v10 - *(_DWORD *)(a2 + 20); if ( v7 < 0 && (v7 += v6, v7 < 0) || v7 > v6 ) v7 = 0; v8 = *(_QWORD *)(a2 + 72); if ( v8 ) { v9 = *(_DWORD *)(v8 + 640); if ( v7 < 3 * v9 ) return 0; v7 = v7 - v9 - v7 % v9; } else if ( v7 < 1 ) { return 0; } if ( !(unsigned int)sub_1005DC43C(a1, a2, v7) ) return 0; } *(_BYTE *)(a2 + 49) = 1; return 0; } return 66; }
GD Web Decomp Icon

GD Web Decomp

Raw Source