// // CheckpointGameObject::setupCustomSprites from 0x750158 to 0x750644 (1260 bytes) // // 2 xrefs: // > @ 0x6f918 // > @ 0x116f338 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall CheckpointGameObject::setupCustomSprites(GameObject *a1) { cocos2d::CCPoint v2; // x3 cocos2d::CCSprite *v3; // x0 cocos2d::CCSprite *v4; // x0 cocos2d::CCSprite *v5; // x0 cocos2d::CCSprite *v6; // x24 cocos2d::CCNode *v7; // x0 cocos2d::CCNode *v8; // x0 cocos2d::CCNode *v9; // x0 cocos2d::CCNode *v10; // x20 cocos2d::CCPoint v12; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCPoint v13[2]; // [xsp+60h] [xbp+60h] BYREF v2 = (cocos2d::CCPoint)_stack_chk_guard; a1->m_bDontDraw = 1; a1->m_colorZLayerRelated = 0; v13[1] = v2; sub_D153B8((int)v13, "checkpoint_d_01_001.png"); cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); v3 = GameObject::addCustomChild((__int64)a1, (const char **)v13, (__int64)&v12, 0xFFFFFFFF); v3->setTag(v3, 1125); if ( (__int64 *)(*(_QWORD *)v13 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)v13 - 24LL)); sub_D153B8((int)v13, "checkpoint_d_02_001.png"); cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); v4 = GameObject::addCustomChild((__int64)a1, (const char **)v13, (__int64)&v12, 0xFFFFFFFF); v4->setTag(v4, 1126); if ( (__int64 *)(*(_QWORD *)v13 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)v13 - 24LL)); sub_D153B8((int)v13, "checkpoint_d_03_001.png"); cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); v5 = GameObject::addCustomChild((__int64)a1, (const char **)v13, (__int64)&v12, 0xFFFFFFFF); v5->setTag(v5, 1127); if ( (__int64 *)(*(_QWORD *)v13 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)v13 - 24LL)); sub_D153B8((int)v13, "checkpoint_01_001.png"); cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0); v6 = GameObject::addCustomChild((__int64)a1, (const char **)v13, (__int64)&v12, 0xFFFFFFFF); if ( (__int64 *)(*(_QWORD *)v13 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)v13 - 24LL)); v6->setTag(v6, 1128); v6->setVisible(v6, 0); sub_D153B8((int)v13, "checkpoint_d_01_001.png"); GameObject::addCustomColorChild(a1, (const char **)v13)->m_bDontDraw = 1; if ( (__int64 *)(*(_QWORD *)v13 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)v13 - 24LL)); sub_D153B8((int)&v12, "checkpoint_d_01_color_001.png"); cocos2d::CCPoint::CCPoint(v13, &stru_1242458); v7 = GameObject::addInternalCustomColorChild((__int64)a1, (const char **)&v12, (__int64)v13, 0xFFFFFFFF); v7->setTag(v7, 1125); if ( (__int64 *)(*(_QWORD *)&v12 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)&v12 - 24LL)); sub_D153B8((int)&v12, "checkpoint_d_02_color_001.png"); cocos2d::CCPoint::CCPoint(v13, &stru_1242458); v8 = GameObject::addInternalCustomColorChild((__int64)a1, (const char **)&v12, (__int64)v13, 0xFFFFFFFF); v8->setTag(v8, 1126); if ( (__int64 *)(*(_QWORD *)&v12 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)&v12 - 24LL)); sub_D153B8((int)&v12, "checkpoint_d_03_color_001.png"); cocos2d::CCPoint::CCPoint(v13, &stru_1242458); v9 = GameObject::addInternalCustomColorChild((__int64)a1, (const char **)&v12, (__int64)v13, 0xFFFFFFFF); v9->setTag(v9, 1127); if ( (__int64 *)(*(_QWORD *)&v12 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)&v12 - 24LL)); sub_D153B8((int)&v12, "checkpoint_01_color_001.png"); cocos2d::CCPoint::CCPoint(v13, &stru_1242458); v10 = GameObject::addInternalCustomColorChild((__int64)a1, (const char **)&v12, (__int64)v13, 0xFFFFFFFF); if ( (__int64 *)(*(_QWORD *)&v12 - 24LL) != &qword_124B6B0 ) sub_74B3A8((void *)(*(_QWORD *)&v12 - 24LL)); v10->setTag(v10, 1128); v10->setVisible(v10, 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source