// // sub_10028A9B4 from 0x10028a9b4 to 0x10028abe0 (556 bytes) // // 2 xrefs: // > GJBaseGameLayer::triggerRotateCommand @ 0x10028ad70 // > GJBaseGameLayer::processDynamicObjectActions @ 0x100293670 // // 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:02:00 +0000 // void __fastcall sub_10028A9B4( __int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7, __int64 a8) { float32x2_t v16; // [xsp+0h] [xbp-70h] BYREF float32x2_t v17; // [xsp+8h] [xbp-68h] BYREF float32x2_t v18; // [xsp+10h] [xbp-60h] BYREF float32x2_t v19; // [xsp+18h] [xbp-58h] BYREF (*(void (__fastcall **)(float32x2_t *__return_ptr, __int64))(*(_QWORD *)a2 + 1360LL))(&v19, a2); (*(void (__fastcall **)(float32x2_t *__return_ptr, __int64))(*(_QWORD *)a4 + 1360LL))(&v18, a4); (*(void (__fastcall **)(float32x2_t *__return_ptr, __int64))(*(_QWORD *)a3 + 1360LL))(&v17, a3); if ( a2 == a3 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 368LL))(a2); } else { sub_10002632C(&v17, &v19, &v16); if ( sqrtf((float)(v16.f32[1] * v16.f32[1]) + (float)(v16.f32[0] * v16.f32[0])) >= 0.01 ) atan2f(v16.f32[1], v16.f32[0]); else (*(void (__fastcall **)(__int64))(*(_QWORD *)a3 + 368LL))(a3); } if ( a2 != a4 ) { if ( *(_BYTE *)(a1 + 1508) == 1 ) { sub_10028A858((float *)&v18, a5, a6, a7, a8); sub_10002632C(&v18, &v19, &v16); if ( sqrtf((float)(v16.f32[1] * v16.f32[1]) + (float)(v16.f32[0] * v16.f32[0])) >= 0.01 ) atan2f(v16.f32[1], v16.f32[0]); } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)a4 + 368LL))(a4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source