// // CheckpointGameObject::setupCustomSprites from 0x88845c to 0x8888bc (1120 bytes) // // 2 xrefs: // > @ 0xf3820 // > @ 0x1450a98 // // This function is hookable on this platform (idp: arm, 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:56:00 +0000 // __int64 __fastcall CheckpointGameObject::setupCustomSprites(cocos2d::CCNode *a1) { __int64 v2; // x3 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x22 cocos2d::CCNode *v7; // x0 cocos2d::CCNode *v8; // x0 cocos2d::CCNode *v9; // x0 cocos2d::CCNode *v10; // x19 _BYTE v12[8]; // [xsp+48h] [xbp+48h] BYREF __int64 v13; // [xsp+50h] [xbp+50h] BYREF __int64 v14; // [xsp+58h] [xbp+58h] void *v15; // [xsp+60h] [xbp+60h] __int64 v16; // [xsp+68h] [xbp+68h] v13 = 0; v2 = _stack_chk_guard; *((_BYTE *)a1 + 1053) = 0; *((_BYTE *)a1 + 559) = 1; v16 = v2; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_01_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0); v3 = GameObject::addCustomChild(a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1125); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_02_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0); v4 = GameObject::addCustomChild(a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 1126); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_03_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0); v5 = GameObject::addCustomChild(a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 1127); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_01_001.png", 0x15u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0); v6 = GameObject::addCustomChild(a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); if ( (v13 & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, 1128); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, 0); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_01_001.png", 0x17u); *(_BYTE *)(GameObject::addCustomColorChild(a1, (unsigned __int8 *)&v13) + 559) = 1; if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_01_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&unk_155CA78); v7 = GameObject::addInternalCustomColorChild((__int64)a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 72LL))(v7, 1125); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_02_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&unk_155CA78); v8 = GameObject::addInternalCustomColorChild((__int64)a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v8 + 72LL))(v8, 1126); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_d_03_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&unk_155CA78); v9 = GameObject::addInternalCustomColorChild((__int64)a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v9 + 72LL))(v9, 1127); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "checkpoint_01_color_001.png", 0x1Bu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&unk_155CA78); v10 = GameObject::addInternalCustomColorChild((__int64)a1, (unsigned __int8 *)&v13, (__int64)v12, 0xFFFFFFFF); if ( (v13 & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v10 + 72LL))(v10, 1128); (*(void (__fastcall **)(cocos2d::CCNode *, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source