{"type": "func", "start": 6442582720, "end": 6442582798, "name": "__alloca_probe", "pseudocode": "// \n// __alloca_probe from 0x1800202c0 to 0x18002030e (78 bytes)\n// \n// 2 xrefs:\n// > cocos2d::extension::AssetsManager::uncompress @ 0x180001c35\n// > <???> @ 0x18004d268\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:45 +0000\n// \n\nunsigned __int64 __fastcall _alloca_probe()\n{\n  unsigned __int64 result; // rax\n  char *v1; // r10\n  char *StackLimit; // r11\n  char v3; // [rsp+18h] [rbp+8h] BYREF\n\n  v1 = &v3 - result;\n  if ( (unsigned __int64)&v3 < result )\n    v1 = nullptr;\n  StackLimit = (char *)NtCurrentTeb()->NtTib.StackLimit;\n  if ( v1 < StackLimit )\n  {\n    LOWORD(v1) = (unsigned __int16)v1 & 0xF000;\n    do\n    {\n      StackLimit -= 4096;\n      *StackLimit = 0;\n    }\n    while ( v1 != StackLimit );\n  }\n  return result;\n}", "assembly": "; \n; __alloca_probe from 0x1800202c0 to 0x18002030e (78 bytes)\n; \n; 2 xrefs:\n; > cocos2d::extension::AssetsManager::uncompress @ 0x180001c35\n; > <???> @ 0x18004d268\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:45 +0000\n; \nsub     rsp, 10h                                                       ; +0x0, 0x1800202c0\nmov     [rsp+10h+var_10], r10                                          ; +0x4, 0x1800202c4\nmov     [rsp+10h+var_8], r11                                           ; +0x8, 0x1800202c8\nxor     r11, r11                                                       ; +0xd, 0x1800202cd\nlea     r10, [rsp+10h+arg_0]                                           ; +0x10, 0x1800202d0\nsub     r10, rax                                                       ; +0x15, 0x1800202d5\ncmovb   r10, r11                                                       ; +0x18, 0x1800202d8\nmov     r11, gs:10h                                                    ; +0x1c, 0x1800202dc\ncmp     r10, r11                                                       ; +0x25, 0x1800202e5\njnb     short cs20                                                     ; +0x28, 0x1800202e8\nand     r10w, 0F000h                                                   ; +0x2a, 0x1800202ea\nlea     r11, [r11-1000h]                                               ; +0x30, 0x1800202f0\nmov     byte ptr [r11], 0                                              ; +0x37, 0x1800202f7\ncmp     r10, r11                                                       ; +0x3b, 0x1800202fb\njnz     short cs10                                                     ; +0x3e, 0x1800202fe\nmov     r10, [rsp+10h+var_10]                                          ; +0x40, 0x180020300\nmov     r11, [rsp+10h+var_8]                                           ; +0x44, 0x180020304\nadd     rsp, 10h                                                       ; +0x49, 0x180020309\nretn                                                                   ; +0x4d, 0x18002030d", "xrefs": ["cocos2d::extension::AssetsManager::uncompress @ 0x180001c35", "<???> @ 0x18004d268"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}