// // sub_1002FA450 from 0x1002fa450 to 0x1002fa54c (252 bytes) // // 6 xrefs: // > PlayerObject::postCollision @ 0x1002bbec0 // > PlayerObject::postCollision @ 0x1002bc080 // > PlayerObject::collidedWithObjectInternal @ 0x1002be604 // > PlayerObject::collidedWithObjectInternal @ 0x1002be630 // > PlayerObject::collidedWithObjectInternal @ 0x1002bf084 // > PlayerObject::collidedWithObjectInternal @ 0x1002bf140 // // 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:03:01 +0000 // int32x2_t __usercall sub_1002FA450@(__int64 a1@, int32x2_t *a2@) { double v4; // d0 __int64 v5; // x0 int32x2_t result; // d0 int v7; // w8 float v8; // s1 float v9; // s2 float v10; // s1 float v11; // s2 __int64 v12; // [xsp+0h] [xbp-20h] BYREF int32x2_t v13; // [xsp+8h] [xbp-18h] v4 = sub_1000262F4(a2, (double *)flt_1009F63A0); v5 = (*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)a1 + 1328LL))(a1, v4); *(double *)&result = sub_1000264D4(&v12, v5); v7 = *(unsigned __int8 *)(a1 + 904); if ( v7 == 1 ) { result = vrev64_s32(v13); v13 = result; } v8 = *(float *)(a1 + 1152); v9 = *(float *)(a1 + 988); if ( COERCE_INT(v8 * 10000.0) != COERCE_INT(v9 * 10000.0) ) *(float *)a2->i32 = (float)(*(float *)v13.i32 - (float)(v9 * (float)(*(float *)v13.i32 / v8))) * 0.5; v10 = *(float *)(a1 + 1156); v11 = *(float *)(a1 + 992); *(float *)result.i32 = v11 * 10000.0; if ( COERCE_INT(v10 * 10000.0) != COERCE_INT(v11 * 10000.0) ) { *(float *)result.i32 = (float)(*(float *)&v13.i32[1] - (float)(v11 * (float)(*(float *)&v13.i32[1] / v10))) * 0.5; a2->i32[1] = result.i32[0]; } if ( v7 ) { result = vrev64_s32(*a2); *a2 = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source