// // __alloca_probe from 0x140678850 to 0x14067889e (78 bytes) // // 15 xrefs: // > AchievementManager::addManualAchievements @ 0x14000a6da // > sub_14004E250 @ 0x14004e275 // > ThreadViewPopup::sortMessagesByID @ 0x1400da8b5 // > DeathMarkerLayer::init @ 0x140114efd // > EditorSFXManager::playAction @ 0x1401855d3 // > GameManager::verifyCoinUnlocks @ 0x140279815 // > GameManager::setupGameAnimations @ 0x1402a8a68 // > GameObject::setupCustomSprites @ 0x1402acb5d // > GameStatsManager::setupIconCredits @ 0x1402c9ba1 // > sub_140403620 @ 0x14040363d // > OptionsScrollLayer::init @ 0x14047e53d // > ObjectToolbox::init @ 0x1404a1cb3 // > SecretLayer5::init @ 0x1405896c5 // > SecretLayer5::onSubmit @ 0x14058c505 // > @ 0x140932840 // // This function is hookable on this platform (idp: pc, 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:36:00 +0000 // 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source