// // CheckpointGameObject::setupCustomSprites from 0x4ec20c to 0x4ec48e (642 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:09 +0000 // int __fastcall CheckpointGameObject::setupCustomSprites(cocos2d::CCPoint *a1) { int v2; // r0 int v3; // r0 int v4; // r0 int v5; // r7 const cocos2d::CCPoint *v6; // r0 const cocos2d::CCPoint *v7; // r0 const cocos2d::CCPoint *v8; // r0 const cocos2d::CCPoint *v9; // r5 _BYTE v11[8]; // [sp+0h] [bp-18h] BYREF int v12; // [sp+8h] [bp-10h] BYREF int v13; // [sp+Ch] [bp-Ch] int v14; // [sp+10h] [bp-8h] *((_BYTE *)a1 + 471) = 1; *((_BYTE *)a1 + 917) = 0; v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_01_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); v2 = GameObject::addCustomChild(a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(int, int))(*(_DWORD *)v2 + 36))(v2, 1125); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_02_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); v3 = GameObject::addCustomChild(a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 36))(v3, 1126); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_03_001.png", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); v4 = GameObject::addCustomChild(a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 36))(v4, 1127); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_01_001.png", 0x15u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); v5 = GameObject::addCustomChild(a1, (int)&v12, (int)v11, -1); std::string::~string((int)&v12); (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 36))(v5, 1128); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 172))(v5, 0); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_01_001.png", 0x17u); *(_BYTE *)(GameObject::addCustomColorChild(a1, (int)&v12) + 471) = 1; std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_01_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_D2BC08); v6 = GameObject::addInternalCustomColorChild((int)a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v6 + 36))(v6, 1125); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_02_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_D2BC08); v7 = GameObject::addInternalCustomColorChild((int)a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 36))(v7, 1126); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_d_03_color_001.png", 0x1Du); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_D2BC08); v8 = GameObject::addInternalCustomColorChild((int)a1, (int)&v12, (int)v11, -1); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v8 + 36))(v8, 1127); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "checkpoint_01_color_001.png", 0x1Bu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&unk_D2BC08); v9 = GameObject::addInternalCustomColorChild((int)a1, (int)&v12, (int)v11, -1); std::string::~string((int)&v12); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v9 + 36))(v9, 1128); return (*(int (__fastcall **)(const cocos2d::CCPoint *, _DWORD))(*(_DWORD *)v9 + 172))(v9, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source