// // sub_10020FC30 from 0x10020fc30 to 0x10020fd60 (304 bytes) // // 1 xrefs: // > sub_10020E0CC @ 0x10020e6d4 // // 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_10020FC30(__int64 a1, __int64 a2, __int64 a3, unsigned int (__fastcall **a4)(__int64, __int64)) { __int64 v6; // x20 __int64 v8; // x25 unsigned __int64 v9; // x23 unsigned __int64 v10; // x8 unsigned __int64 v11; // x26 unsigned __int64 v12; // x24 __int64 v13; // x24 unsigned __int64 v14; // x22 if ( a1 != a2 ) { v6 = a2; v8 = a2 - a1; v9 = 0xEEEEEEEEEEEEEEEFLL * ((a2 - a1) >> 4); if ( a2 - a1 >= 241 ) { v10 = (v9 - 2) >> 1; v11 = v10 + 1; v12 = a1 + 240 * v10; do { sub_10020FD60(a1, a4, v9, v12); v12 -= 240LL; --v11; } while ( v11 ); } v13 = v6; if ( v6 != a3 ) { v13 = v6; do { if ( (*a4)(v13, a1) ) { sub_10020F9DC(v13, a1); sub_10020FD60(a1, a4, v9, a1); } v13 += 240; } while ( v13 != a3 ); } if ( v8 >= 241 ) { v14 = 0xEEEEEEEEEEEEEEEFLL * ((unsigned __int64)v8 >> 4); do { sub_1002100CC(a1, v6, a4, v14); v6 -= 240; } while ( v14-- > 2 ); } return v13; } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source