// // __alloca_probe from 0x1800203b0 to 0x1800203fe (78 bytes) // // 2 xrefs: // > cocos2d::extension::AssetsManager::uncompress @ 0x180001ee5 // > @ 0x18004b328 // // 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 // unsigned __int64 __fastcall _alloca_probe() { unsigned __int64 result; // rax char *v1; // r10 char *StackLimit; // r11 char v3; // [rsp+18h] [rbp+8h] BYREF v1 = &v3 - result; if ( (unsigned __int64)&v3 < result ) v1 = nullptr; StackLimit = (char *)NtCurrentTeb()->NtTib.StackLimit; if ( v1 < StackLimit ) { LOWORD(v1) = (unsigned __int16)v1 & 0xF000; do { StackLimit -= 4096; *StackLimit = 0; } while ( v1 != StackLimit ); } return result; }