// // sub_10014E590 from 0x10014e590 to 0x10014e676 (230 bytes) // // 1 xrefs: // > GJBaseGameLayer::claimRotationAction @ 0x100125505 // // This function is hookable on this platform (idp: pc, 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 12:25:01 +0000 // __int64 __fastcall sub_10014E590(__int64 **a1, int *a2) { __int64 *v3; // rdi int v4; // edx int v5; // ecx __int64 *v6; // rbx __int64 *v7; // rsi int v8; // r9d int v9; // esi __int64 *v11; // rdx __int64 *v12; // rcx __int64 *v13; // rdx bool v14; // zf void *v15; // rdi v3 = a1[1]; if ( !v3 ) return 0; v4 = *a2; v5 = a2[1]; v6 = (__int64 *)(a1 + 1); v7 = v3; do { v8 = *((_DWORD *)v7 + 8); if ( v8 < v4 ) { ++v7; } else if ( v8 <= v4 ) { if ( *((_DWORD *)v7 + 9) >= v5 ) v6 = v7; v7 += *((_DWORD *)v7 + 9) < v5; } else { v6 = v7; } v7 = (__int64 *)*v7; } while ( v7 ); if ( v6 == (__int64 *)(a1 + 1) ) return 0; v9 = *((_DWORD *)v6 + 8); if ( v4 < v9 || v4 <= v9 && v5 < *((_DWORD *)v6 + 9) ) return 0; v11 = (__int64 *)v6[1]; if ( v11 ) { do { v12 = v11; v11 = (__int64 *)*v11; } while ( v11 ); } else { v13 = v6; do { v12 = (__int64 *)v13[2]; v14 = *v12 == (_QWORD)v13; v13 = v12; } while ( !v14 ); } if ( *a1 == v6 ) *a1 = v12; a1[2] = (__int64 *)((char *)a1[2] - 1); sub_1001454C0(v3, v6); v15 = (void *)v6[5]; if ( v15 ) { v6[6] = (__int64)v15; operator delete(v15); } operator delete(v6); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source