// // sub_140249B90 from 0x140249b90 to 0x140249c26 (150 bytes) // // 5 xrefs: // > GJBaseGameLayer::dGJBaseGameLayer @ 0x140206e38 // > sub_1405004B7 @ 0x1405004c5 // > @ 0x140682a64 // > @ 0x140682a74 // > @ 0x1406ce988 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_140249B90(void ***a1) { void **v1; // rbx void **i; // rsi void **v4; // rcx __int64 result; // rax v1 = *a1; if ( *a1 ) { for ( i = a1[1]; v1 != i; v1 += 8 ) { sub_14005D100((__int64)(v1 + 3)); sub_14005D870(v1 + 1); } v4 = *a1; if ( (((char *)a1[2] - (char *)*a1) & 0xFFFFFFFFFFFFFFC0uLL) >= 0x1000 ) { if ( (unsigned __int64)((char *)v4 - (_BYTE *)*(v4 - 1) - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); v4 = (void **)*(v4 - 1); } j_j_free(v4); result = 0; *a1 = nullptr; a1[1] = nullptr; a1[2] = nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source