// // sub_F6D5A0 from 0xf6d5a0 to 0xf6d5f4 (84 bytes) // // 0 xrefs: // // 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 13:13:37 +0000 // __int64 __fastcall sub_F6D5A0(__int64 a1, unsigned __int64 a2) { __int64 v2; // x8 __int64 result; // x0 std::bad_cast *exception; // x19 v2 = *(_QWORD *)(a1 + 16); if ( (*(_QWORD *)(a1 + 24) - v2) >> 3 <= a2 || (result = *(_QWORD *)(v2 + 8 * a2)) == 0 ) { exception = (std::bad_cast *)_cxa_allocate_exception(8u); std::bad_cast::bad_cast(exception); _cxa_throw(exception, (struct type_info *)&`typeinfo for'std::bad_cast, (void (*)(void *))std::bad_cast::~bad_cast); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source