// // CheckpointGameObject::setupCustomSprites from 0x1001b6090 to 0x1001b6555 (1221 bytes) // // 1 xrefs: // > @ 0x100ad4758 // // 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:26:11 +0000 // __int64 __fastcall CheckpointGameObject::setupCustomSprites(__int64 a1) { __int64 v1; // rax __int64 v2; // rax __int64 v3; // rax __int64 v4; // r14 __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax __int64 v8; // rbx _QWORD v10[2]; // [rsp+8h] [rbp-F8h] BYREF void *__p; // [rsp+18h] [rbp-E8h] _QWORD v12[2]; // [rsp+20h] [rbp-E0h] BYREF void *v13; // [rsp+30h] [rbp-D0h] _QWORD v14[2]; // [rsp+38h] [rbp-C8h] BYREF void *v15; // [rsp+48h] [rbp-B8h] _QWORD v16[2]; // [rsp+50h] [rbp-B0h] BYREF void *v17; // [rsp+60h] [rbp-A0h] _QWORD v18[2]; // [rsp+68h] [rbp-98h] BYREF void *v19; // [rsp+78h] [rbp-88h] _QWORD v20[2]; // [rsp+80h] [rbp-80h] BYREF void *v21; // [rsp+90h] [rbp-70h] _QWORD v22[2]; // [rsp+98h] [rbp-68h] BYREF void *v23; // [rsp+A8h] [rbp-58h] _QWORD v24[2]; // [rsp+B0h] [rbp-50h] BYREF void *v25; // [rsp+C0h] [rbp-40h] void *v26[3]; // [rsp+C8h] [rbp-38h] BYREF _BYTE v27[32]; // [rsp+E0h] [rbp-20h] BYREF *(_BYTE *)(a1 + 1053) = 0; *(_BYTE *)(a1 + 559) = 1; __p = operator new(0x1Au); v10[0] = 27; v10[1] = 23; strcpy((char *)__p, "checkpoint_d_01_001.png"); sub_100278250(v27, 0.0, 0.0); v1 = GameObject::addCustomChild(a1, v10, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 1125); if ( (v10[0] & 1) != 0 ) operator delete(__p); v13 = operator new(0x1Au); v12[0] = 27; v12[1] = 23; strcpy((char *)v13, "checkpoint_d_02_001.png"); sub_100278250(v27, 0.0, 0.0); v2 = GameObject::addCustomChild(a1, v12, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1126); if ( (v12[0] & 1) != 0 ) operator delete(v13); v15 = operator new(0x1Au); v14[0] = 27; v14[1] = 23; strcpy((char *)v15, "checkpoint_d_03_001.png"); sub_100278250(v27, 0.0, 0.0); v3 = GameObject::addCustomChild(a1, v14, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1127); if ( (v14[0] & 1) != 0 ) operator delete(v15); strcpy((char *)v26, "*checkpoint_01_001.png"); sub_100278250(v27, 0.0, 0.0); v4 = GameObject::addCustomChild(a1, v26, v27, 0xFFFFFFFFLL); if ( ((__int64)v26[0] & 1) != 0 ) operator delete(v26[2]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 1128); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0); v17 = operator new(0x1Au); v16[0] = 27; v16[1] = 23; strcpy((char *)v17, "checkpoint_d_01_001.png"); *(_BYTE *)(GameObject::addCustomColorChild(a1, v16) + 559) = 1; if ( (v16[0] & 1) != 0 ) operator delete(v17); v19 = operator new(0x20u); v18[0] = 33; v18[1] = 29; strcpy((char *)v19, "checkpoint_d_01_color_001.png"); sub_1002782D0(v27, &unk_100BE13A0); v5 = GameObject::addInternalCustomColorChild(a1, v18, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 1125); if ( (v18[0] & 1) != 0 ) operator delete(v19); v21 = operator new(0x20u); v20[0] = 33; v20[1] = 29; strcpy((char *)v21, "checkpoint_d_02_color_001.png"); sub_1002782D0(v27, &unk_100BE13A0); v6 = GameObject::addInternalCustomColorChild(a1, v20, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, 1126); if ( (v20[0] & 1) != 0 ) operator delete(v21); v23 = operator new(0x20u); v22[0] = 33; v22[1] = 29; strcpy((char *)v23, "checkpoint_d_03_color_001.png"); sub_1002782D0(v27, &unk_100BE13A0); v7 = GameObject::addInternalCustomColorChild(a1, v22, v27, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 72LL))(v7, 1127); if ( (v22[0] & 1) != 0 ) operator delete(v23); v25 = operator new(0x20u); v24[0] = 33; v24[1] = 27; strcpy((char *)v25, "checkpoint_01_color_001.png"); sub_1002782D0(v27, &unk_100BE13A0); v8 = GameObject::addInternalCustomColorChild(a1, v24, v27, 0xFFFFFFFFLL); if ( (v24[0] & 1) != 0 ) operator delete(v25); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, 1128); return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, 0); }