// // sub_10065FCF4 from 0x10065fcf4 to 0x10065fe64 (368 bytes) // // 3 xrefs: // > sub_10065FA54 @ 0x10065fac4 // > sub_100660A0C @ 0x100660c80 // > sub_100662D50 @ 0x100662dd4 // // 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:10:57 +0000 // __int64 __fastcall sub_10065FCF4(__int64 a1) { __int64 v3; // x8 unsigned __int16 v4; // w9 __int64 v5; // x0 __int64 v6; // x8 int v7; // w9 int v8; // w9 __int64 v9; // x0 __int64 v10; // [xsp+0h] [xbp-20h] BYREF int v11; // [xsp+8h] [xbp-18h] if ( !sub_10065FC1C(a1, &v10) || v10 >= 1 ) return 0; if ( v11 > 0 ) return 0; v3 = *(_QWORD *)(a1 + 136); v4 = 2 * *(_WORD *)(v3 + 864); if ( v4 > 0x3Cu ) v4 = 60; *(_WORD *)(v3 + 864) = v4; if ( !*(_QWORD *)(v3 + 848) && !*(_DWORD *)(v3 + 856) ) *(_WORD *)(v3 + 864) = 1; gettimeofday((timeval *)(v3 + 848), nullptr); *(_QWORD *)(*(_QWORD *)(a1 + 136) + 848LL) += *(unsigned __int16 *)(*(_QWORD *)(a1 + 136) + 864LL); v5 = sub_1006649A0(a1); sub_100700CE0(v5, 45, 0, *(_QWORD *)(a1 + 136) + 848LL); if ( (sub_10065FF9C(a1) & 0x80000000) != 0 ) return 0xFFFFFFFFLL; v6 = *(_QWORD *)(a1 + 136); v7 = *(_DWORD *)(v6 + 832); if ( (unsigned int)(v7 + 1) <= 2 ) v8 = v7 + 1; else v8 = 1; *(_DWORD *)(v6 + 832) = v8; if ( *(_DWORD *)(a1 + 668) ) { *(_DWORD *)(a1 + 668) = 0; return sub_1006634B8(a1); } else { if ( !*(_QWORD *)(v6 + 848) && !*(_DWORD *)(v6 + 856) ) *(_WORD *)(v6 + 864) = 1; gettimeofday((timeval *)(v6 + 848), nullptr); *(_QWORD *)(*(_QWORD *)(a1 + 136) + 848LL) += *(unsigned __int16 *)(*(_QWORD *)(a1 + 136) + 864LL); v9 = sub_1006649A0(a1); sub_100700CE0(v9, 45, 0, *(_QWORD *)(a1 + 136) + 848LL); return sub_100662DFC(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source