// // cocos2d::CCParticleSystem::initWithTotalParticles from 0x7e2fd2 to 0x7e305e (140 bytes) // // 1 xrefs: // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x7e6904 // // 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 12:00:51 +0000 // void *__fastcall cocos2d::CCParticleSystem::initWithTotalParticles( cocos2d::CCParticleSystem *this, unsigned int a2, int a3) { void *v5; // r0 void *v7; // r5 int v8; // r3 unsigned int i; // r3 *((_DWORD *)this + 145) = a2; v5 = *((void **)this + 86); if ( v5 ) free(v5); v7 = calloc(*((_DWORD *)this + 145), 0x94u); *((_DWORD *)this + 86) = v7; if ( v7 ) { v8 = *((_DWORD *)this + 89); *((_DWORD *)this + 92) = a2; if ( v8 ) { for ( i = 0; i < *((_DWORD *)this + 145); ++i ) *(_DWORD *)(*((_DWORD *)this + 86) + 148 * i + 72) = i; } v7 = &dword_0 + 1; *((_BYTE *)this + 372) = 1; *((_DWORD *)this + 148) = 771; *((_DWORD *)this + 147) = 1; *((_DWORD *)this + 150) = 0; *((_DWORD *)this + 152) = 0; *((_BYTE *)this + 604) = 0; *((_BYTE *)this + 364) = 0; if ( !a3 ) { cocos2d::CCNode::scheduleUpdateWithPriority((cocos2d::CCScheduler **)this, 1); *((_BYTE *)this + 477) = 1; } } else { cocos2d::CCObject::release(this); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source