// // CheckpointGameObject::setupCustomSprites from 0x14065b220 to 0x14065b7e8 (1480 bytes) // // 2 xrefs: // > @ 0x140824170 // > @ 0x140931934 // // 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:35:46 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall CheckpointGameObject::setupCustomSprites(_BYTE *a1, __int64 a2) { __int64 v4; // rax struct cocos2d::CCSprite *v5; // rax __int64 v6; // rax struct cocos2d::CCSprite *v7; // rax __int64 v8; // rax struct cocos2d::CCSprite *v9; // rax __int64 v10; // rax struct cocos2d::CCSprite *v11; // rbx __int64 v12; // rax struct cocos2d::CCSprite *v13; // rax __int64 v14; // rax struct cocos2d::CCSprite *v15; // rax __int64 v16; // rax struct cocos2d::CCSprite *v17; // rax __int64 v18; // rax struct cocos2d::CCSprite *v19; // rbx __int128 v20; // [rsp+20h] [rbp-40h] BYREF __int64 v21; // [rsp+30h] [rbp-30h] __int64 v22; // [rsp+38h] [rbp-28h] __int128 *v23; // [rsp+40h] [rbp-20h] BYREF _QWORD v24[2]; // [rsp+48h] [rbp-18h] BYREF v24[1] = a2; a1[1061] = 0; a1[559] = 1; v24[0] = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 23; v22 = 31; strcpy((char *)v20, "checkpoint_d_01_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, 0.0, 0.0); v5 = GameObject::addCustomChild(a1, (const char *)&v20, v4, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v5 + 64LL))(v5, 1125); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 23; v22 = 31; strcpy((char *)v20, "checkpoint_d_02_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, 0.0, 0.0); v7 = GameObject::addCustomChild(a1, (const char *)&v20, v6, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v7 + 64LL))(v7, 1126); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 23; v22 = 31; strcpy((char *)v20, "checkpoint_d_03_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, 0.0, 0.0); v9 = GameObject::addCustomChild(a1, (const char *)&v20, v8, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v9 + 64LL))(v9, 1127); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 21; v22 = 31; strcpy((char *)v20, "checkpoint_01_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, 0.0, 0.0); v11 = GameObject::addCustomChild(a1, (const char *)&v20, v10, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v11 + 64LL))(v11, 1128); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v11 + 336LL))(v11, 0); v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 23; v22 = 31; strcpy((char *)v20, "checkpoint_d_01_001.png"); *(_BYTE *)(GameObject::addCustomColorChild(a1, (const char *)&v20) + 559) = 1; v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 29; v22 = 31; strcpy((char *)v20, "checkpoint_d_01_color_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, (const struct cocos2d::CCPoint *)&unk_14090BDD8); v13 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v20, v12, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v13 + 64LL))(v13, 1125); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 29; v22 = 31; strcpy((char *)v20, "checkpoint_d_02_color_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, (const struct cocos2d::CCPoint *)&unk_14090BDD8); v15 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v20, v14, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v15 + 64LL))(v15, 1126); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 29; v22 = 31; strcpy((char *)v20, "checkpoint_d_03_color_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, (const struct cocos2d::CCPoint *)&unk_14090BDD8); v17 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v20, v16, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 64LL))(v17, 1127); v23 = &v20; v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 27; v22 = 31; strcpy((char *)v20, "checkpoint_01_color_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, (const struct cocos2d::CCPoint *)&unk_14090BDD8); v19 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v20, v18, 0xFFFFFFFF); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v19 + 64LL))(v19, 1128); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v19 + 336LL))(v19, 0); sub_14003D310(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source