// // cocos2d::CCParticleSystem::initWithFile from 0x5dcdf0 to 0x5dcea8 (184 bytes) // // 2 xrefs: // > cocos2d::CCParticleSystem::create @ 0x5dcec8 // > cocos2d::CCParticleSystemQuad::create @ 0x5ddcae // // 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 // bool cocos2d::CCParticleSystem::initWithFile(cocos2d::CCParticleSystem *a1, const char *a2, bool a3) { _BOOL4 v5; // r9 cocos2d::CCFileUtils *v6; // r0 CCContentManager *v7; // r0 cocos2d::CCDictionary *v8; // r10 int v9; // r0 cocos2d::CCParticleSystem *v10; // r0 cocos2d::CCDictionary *v11; // r1 char *v12; // r2 char v13; // r4 const char *v16; // [sp+4h] [bp-Ch] BYREF _BOOL4 v17; // [sp+8h] [bp-8h] BYREF v16 = a2; v17 = a3; v5 = a3; v6 = cocos2d::CCFileUtils::sharedFileUtils(); ((void (__fastcall *)(_BOOL4 *, cocos2d::CCFileUtils *, const char *, _DWORD, cocos2d::CCParticleSystem *))v6->createCCArrayWithContentsOfFile)( &v17, v6, a2, 0, a1); sub_774794(&a1->m_sPlistFile, &v17); sub_774008(&v17); v7 = CCContentManager::sharedManager(); v8 = CCContentManager::addDict(v7, a2, 1); sub_776584((int)&v16, (char *)a2); if ( sub_774910(&v16, 47, 0) == -1 ) { v10 = a1; v11 = v8; v12 = (char *)&unk_939830; } else { v9 = sub_7749FC(&v16, 47, -1); sub_776158(&v17, &v16, 0, v9 + 1); sub_774794(&v16, &v17); sub_774008(&v17); v10 = a1; v11 = v8; v12 = (char *)v16; } v13 = cocos2d::CCParticleSystem::initWithDictionary(v10, v11, v12, v5); sub_774008(&v16); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source