// // sub_100515CF0 from 0x100515cf0 to 0x100515db4 (196 bytes) // // 1 xrefs: // > sub_100515B64 @ 0x100515c0c // // 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:07:05 +0000 // __int64 __fastcall sub_100515CF0(__int64 result, __int64 *a2, __int64 (__fastcall **a3)(__int64, __int64)) { _QWORD *v4; // x21 __int64 *v5; // x8 __int64 v7; // x23 __int64 *v8; // x24 __int64 v9; // x1 __int64 v10; // x22 __int64 v11; // x25 _QWORD *v12; // x8 if ( (__int64 *)result != a2 ) { v4 = (_QWORD *)result; v5 = (__int64 *)(result + 8); if ( (__int64 *)(result + 8) != a2 ) { v7 = 0; v8 = (__int64 *)result; do { v9 = *v8; v8 = v5; result = (*a3)(*v5, v9); if ( (_DWORD)result ) { v10 = *v8; v11 = v7; while ( 1 ) { *(_QWORD *)((char *)v4 + v11 + 8) = *(_QWORD *)((char *)v4 + v11); if ( !v11 ) break; result = (*a3)(v10, *(_QWORD *)((char *)v4 + v11 - 8)); v11 -= 8; if ( (result & 1) == 0 ) { v12 = (_QWORD *)((char *)v4 + v11 + 8); goto LABEL_10; } } v12 = v4; LABEL_10: *v12 = v10; } v5 = v8 + 1; v7 += 8; } while ( v8 + 1 != a2 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source