// // sub_10009ED28 from 0x10009ed28 to 0x10009ee54 (300 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x1000945b4 // // 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 10:58:30 +0000 // __int64 __fastcall sub_10009ED28(__int64 a1, __int64 a2, __int64 a3) { unsigned __int64 v6; // x8 __int64 v7; // x21 void *v8; // x22 const char *v9; // x0 int v10; // w22 _BOOL4 v11; // w0 int v12; // w20 __int64 result; // x0 __int64 v14; // x2 std::string v15; // [xsp+0h] [xbp-40h] BYREF std::allocator __a; // [xsp+1Fh] [xbp-21h] BYREF sub_1000D94D0(a1 + 720, a3); v6 = *(char *)(a3 + 23); if ( (v6 & 0x8000000000000000LL) != 0 ) v6 = *(_QWORD *)(a3 + 8); if ( v6 < 8 ) { v7 = 0; } else { std::string::basic_string(&v15, (const std::string *)a3, 7u, 0xFFFFFFFFFFFFFFFFLL, &__a); if ( SHIBYTE(v15.__r_.__value_.__r.__words[2]) < 0 ) { v8 = (void *)v15.__r_.__value_.__r.__words[0]; v7 = atoi(v15.__r_.__value_.__l.__data_); operator delete(v8); } else { v7 = atoi((const char *)&v15); } } v9 = (const char *)a2; if ( *(char *)(a2 + 23) < 0 ) v9 = *(const char **)a2; v10 = atoi(v9); sub_100009900(&v15, "-1"); v11 = sub_1000045BC((_QWORD *)a2, &v15); v12 = v10 < 0 || v11; if ( SHIBYTE(v15.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v15.__r_.__value_.__l.__data_); result = *(_QWORD *)(a1 + 1344); if ( v12 ) { if ( result ) { if ( v10 == -21 ) v14 = 4294967275LL; else v14 = 0; return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)result + 8LL))(result, v7, v14); } } else if ( result ) { return (**(__int64 (__fastcall ***)(__int64, __int64))result)(result, v7); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source