// // LevelEditorLayer::claimCustomParticle from 0x1000f4360 to 0x1000f440f (175 bytes) // // 1 xrefs: // > @ 0x1008c0748 // // 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 // cocos2d::CCParticleSystemQuad *__fastcall LevelEditorLayer::claimCustomParticle( __int64 a1, __int64 a2, const cocos2d::ParticleStruct *a3, int a4, unsigned int a5, __int64 a6, unsigned __int8 a7) { cocos2d::CCParticleSystemQuad *v9; // r15 cocos2d::CCNode *v10; // rax if ( *(_BYTE *)(a1 + 13699) != 1 ) return nullptr; v9 = GameToolbox::particleFromStruct(a3, nullptr, 1); sub_10071FCD0(*(_QWORD *)(a1 + 12192), v9); cocos2d::CCParticleSystem::resetSystem(v9); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v9->setVisible)(v9, 1); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _QWORD))v9->setAutoRemoveOnFinish)(v9, a7); v10 = GJBaseGameLayer::parentForZLayer((GJBaseGameLayer *)a1, a4, 0, 4, 0); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCParticleSystemQuad *, _QWORD))v10->addChild_0)(v10, v9, a5); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source