// // sub_1005BE330 from 0x1005be330 to 0x1005be519 (489 bytes) // // 135 xrefs: // > sub_1005BFEE0 @ 0x1005bff99 // > sub_1005C2130 @ 0x1005c221a // > sub_1005C2130 @ 0x1005c224a // > sub_1005C2350 @ 0x1005c2789 // > sub_1005C2A50 @ 0x1005c2a95 // > sub_1005C2A50 @ 0x1005c2aa1 // > sub_1005C2A50 @ 0x1005c2aad // > sub_1005C2A50 @ 0x1005c2ab9 // > sub_1005C2A50 @ 0x1005c2b19 // > sub_1005C2A50 @ 0x1005c2b25 // > sub_1005C2A50 @ 0x1005c2b55 // > sub_1005C2A50 @ 0x1005c2b61 // > sub_1005C2A50 @ 0x1005c2b97 // > sub_1005C2A50 @ 0x1005c2ba6 // > sub_1005C3B80 @ 0x1005c3c54 // > sub_1005C3B80 @ 0x1005c3c5f // > sub_1005C5390 @ 0x1005c5469 // > sub_1005C5390 @ 0x1005c5479 // > sub_1005C5600 @ 0x1005c5730 // > sub_1005C5600 @ 0x1005c573d // > sub_1005C5600 @ 0x1005c574a // > sub_1005C5600 @ 0x1005c5771 // > sub_1005C5600 @ 0x1005c577e // > sub_1005C5600 @ 0x1005c578b // > sub_1005C5600 @ 0x1005c5798 // > sub_1005C5600 @ 0x1005c57a5 // > sub_1005C5600 @ 0x1005c57b2 // > sub_1005C5600 @ 0x1005c57bf // > sub_1005C5600 @ 0x1005c57cc // > sub_1005C5600 @ 0x1005c5851 // > sub_1005C5600 @ 0x1005c5861 // > sub_1005C5600 @ 0x1005c5871 // > sub_1005C5600 @ 0x1005c5881 // > sub_1005C5600 @ 0x1005c5891 // > sub_1005C5600 @ 0x1005c58a1 // > sub_1005C5600 @ 0x1005c58b1 // > sub_1005C5600 @ 0x1005c58e1 // > sub_1005C5600 @ 0x1005c58f1 // > sub_1005C5600 @ 0x1005c5911 // > sub_1005C5600 @ 0x1005c5921 // > sub_1005C5600 @ 0x1005c5931 // > sub_1005C5600 @ 0x1005c5941 // > sub_1005C5600 @ 0x1005c5951 // > sub_1005C5600 @ 0x1005c5961 // > sub_1005C5600 @ 0x1005c5971 // > sub_1005C5600 @ 0x1005c5981 // > sub_1005C5600 @ 0x1005c5991 // > sub_1005C5600 @ 0x1005c59d1 // > sub_1005C5600 @ 0x1005c59e1 // > sub_1005C5600 @ 0x1005c59f1 // > sub_1005C5600 @ 0x1005c5a01 // > sub_1005C5600 @ 0x1005c5a21 // > sub_1005C5600 @ 0x1005c5a51 // > sub_1005C5600 @ 0x1005c5a61 // > sub_1005C5600 @ 0x1005c5a71 // > sub_1005C5600 @ 0x1005c5a81 // > sub_1005C5600 @ 0x1005c5a91 // > sub_1005C5600 @ 0x1005c5aa1 // > sub_1005C5600 @ 0x1005c5ad1 // > sub_1005C5600 @ 0x1005c5ae1 // > sub_1005C5600 @ 0x1005c5ef6 // > sub_1005C5600 @ 0x1005c5f09 // > sub_1005C5600 @ 0x1005c5f8e // > sub_1005C5600 @ 0x1005c5fa1 // > sub_1005C5600 @ 0x1005c5fb4 // > sub_1005C5600 @ 0x1005c5fc7 // > sub_1005C6290 @ 0x1005c62a9 // > sub_1005C6290 @ 0x1005c62d9 // > PlayerCheckpoint::processState @ 0x1005d73f6 // > PlayerCheckpoint::processState @ 0x1005d74e6 // > PlayerCheckpoint::processState @ 0x1005d74f5 // > PlayerCheckpoint::processState @ 0x1005d7578 // > PlayerCheckpoint::processState @ 0x1005d7587 // > PlayerCheckpoint::processState @ 0x1005d75d2 // > PlayerCheckpoint::processState @ 0x1005d75e1 // > PlayerCheckpoint::processState @ 0x1005d75f0 // > PlayerCheckpoint::processState @ 0x1005d7622 // > PlayerCheckpoint::processState @ 0x1005d766d // > PlayerCheckpoint::processState @ 0x1005d767c // > PlayerCheckpoint::processState @ 0x1005d7805 // > PlayerCheckpoint::processState @ 0x1005d7814 // > PlayerCheckpoint::processState @ 0x1005d7823 // > PlayerCheckpoint::processState @ 0x1005d7832 // > PlayerCheckpoint::processState @ 0x1005d7850 // > PlayerCheckpoint::processState @ 0x1005d785f // > PlayerCheckpoint::processState @ 0x1005d78e7 // > PlayerCheckpoint::processState @ 0x1005d795f // > PlayerCheckpoint::processState @ 0x1005d796e // > PlayerCheckpoint::processState @ 0x1005d797d // > PlayerCheckpoint::processState @ 0x1005d799b // > PlayerCheckpoint::processState @ 0x1005d79f5 // > PlayerCheckpoint::processState @ 0x1005d7a5e // > PlayerCheckpoint::processState @ 0x1005d7a6d // > PlayerCheckpoint::processState @ 0x1005d7a7c // > PlayerCheckpoint::processState @ 0x1005d7a8b // > PlayerCheckpoint::processState @ 0x1005d7ad6 // > PlayerCheckpoint::processState @ 0x1005d7ae5 // > PlayerCheckpoint::processState @ 0x1005d7af4 // > PlayerCheckpoint::processState @ 0x1005d7b03 // > PlayerCheckpoint::processState @ 0x1005d7b99 // > PlayerCheckpoint::processState @ 0x1005d7ba8 // > PlayerCheckpoint::processState @ 0x1005d7bd5 // > PlayerCheckpoint::processState @ 0x1005d7c4d // > PlayerCheckpoint::processState @ 0x1005d7c7a // > PlayerCheckpoint::processState @ 0x1005d7d08 // > PlayerCheckpoint::processState @ 0x1005d7dad // > PlayerCheckpoint::processState @ 0x1005d7de9 // > PlayerCheckpoint::processState @ 0x1005d7e34 // > PlayerCheckpoint::processState @ 0x1005d7e52 // > PlayerCheckpoint::processState @ 0x1005d7e7f // > PlayerCheckpoint::processState @ 0x1005d7e8e // > PlayerCheckpoint::processState @ 0x1005d7e9d // > PlayerCheckpoint::processState @ 0x1005d7ee8 // > PlayerCheckpoint::processState @ 0x1005d7ef7 // > processGJGameStateFields @ 0x1005de4a7 // > processGJGameStateFields @ 0x1005de4b6 // > processGJGameStateFields @ 0x1005de4c5 // > processGJGameStateFields @ 0x1005de7ea // > sub_1005E29A0 @ 0x1005e8b02 // > sub_1005E29A0 @ 0x1005e8b36 // > sub_1005E29A0 @ 0x1005e8b72 // > sub_1005E29A0 @ 0x1005e8bb1 // > sub_1005E29A0 @ 0x1005e9326 // > sub_1005E29A0 @ 0x1005e96a6 // > processGJShaderState @ 0x1005e9df9 // > processGJShaderState @ 0x1005e9e05 // > processGJShaderState @ 0x1005e9e11 // > processGJShaderState @ 0x1005e9fdf // > processGJShaderState @ 0x1005ea75c // > processGJShaderState @ 0x1005ea76b // > sub_1005F6940 @ 0x1005f6a26 // > sub_1005F6940 @ 0x1005f6a39 // > serializeCheckpoint @ 0x1005f82d0 // > serializeCheckpoint @ 0x1005f82f4 // > serializeCheckpoint @ 0x1005f8338 // // 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 12:32:45 +0000 // void *__fastcall sub_1005BE330(__int64 a1, double *a2) { size_t v3; // rdx size_t v4; // r15 size_t v5; // rax size_t v6; // r14 size_t v7; // rdi char *v8; // rax char *v9; // r12 void *v10; // r13 const char *v11; // r14 size_t v12; // r15 size_t v13; // rdx size_t v14; // rax size_t v15; // r12 size_t v16; // rdi char *v17; // rax char *v18; // r13 void *v19; // r14 void *result; // rax const char *__src; // [rsp+0h] [rbp-80h] size_t __len; // [rsp+8h] [rbp-78h] size_t __lena; // [rsp+8h] [rbp-78h] char __s[64]; // [rsp+10h] [rbp-70h] BYREF sprintf(__s, "%.17g", *a2); v3 = strlen(__s); v4 = *(_QWORD *)a1; v5 = *(_QWORD *)(a1 + 8); v6 = *(_QWORD *)a1 + v3; if ( v5 >= v6 ) { v9 = *(char **)(a1 + 16); *(_QWORD *)a1 = v6; if ( !v3 ) goto LABEL_12; goto LABEL_11; } __len = v3; v7 = v5 + (v5 >> 1); if ( v7 <= v6 ) v7 = v6; *(_QWORD *)(a1 + 8) = v7; v8 = (char *)operator new[](v7); v9 = v8; v10 = *(void **)(a1 + 16); if ( v4 ) memmove(v8, *(const void **)(a1 + 16), v4); if ( v10 != (void *)(a1 + 24) && v10 != nullptr ) operator delete[](v10); *(_QWORD *)(a1 + 16) = v9; v3 = __len; *(_QWORD *)a1 = v6; if ( __len ) LABEL_11: memmove(&v9[v4], __s, v3); LABEL_12: v11 = (const char *)(a1 + 529); v12 = *(unsigned __int8 *)(a1 + 528) >> 1; if ( (*(_BYTE *)(a1 + 528) & 1) != 0 ) { v11 = *(const char **)(a1 + 544); v12 = *(_QWORD *)(a1 + 536); } if ( !v12 ) { if ( v11 ) v12 = strlen(v11); else v12 = 0; } v13 = *(_QWORD *)a1; v14 = *(_QWORD *)(a1 + 8); v15 = *(_QWORD *)a1 + v12; if ( v14 >= v15 ) { v18 = *(char **)(a1 + 16); } else { __src = v11; v16 = v14 + (v14 >> 1); if ( v16 <= v15 ) v16 = *(_QWORD *)a1 + v12; *(_QWORD *)(a1 + 8) = v16; __lena = v13; v17 = (char *)operator new[](v16); v13 = __lena; v18 = v17; v19 = *(void **)(a1 + 16); if ( __lena ) { memmove(v17, *(const void **)(a1 + 16), __lena); v13 = __lena; } if ( v19 != (void *)(a1 + 24) && v19 != nullptr ) { operator delete[](v19); v13 = __lena; } *(_QWORD *)(a1 + 16) = v18; v11 = __src; } *(_QWORD *)a1 = v15; result = (void *)__stack_chk_guard; if ( v12 ) return memmove(&v18[v13], v11, v12); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source