// // GJBaseGameLayer::spawnParticle from 0x1402402e0 to 0x1402403b2 (210 bytes) // // 4 xrefs: // > GameObject::spawnDefaultPickupParticle @ 0x1401aa2ec // > GameObject::playDestroyObjectAnim @ 0x1401aa574 // > GameObject::playDestroyObjectAnim @ 0x1401ab37b // > @ 0x1406ce3ac // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCParticleSystemQuad *GJBaseGameLayer::spawnParticle( GJBaseGameLayer *a1, const char *a2, int a3, cocos2d::tCCPositionType a4, cocos2d::CCPoint a5) { __int64 v7; // rax struct cocos2d::CCParticleSystemQuad *v9; // rbx _BOOL8 v10; // rdx void *v11; // [rsp+20h] [rbp-18h] v7 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v11 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v7 = qword_1406C2ED8; } if ( *(_BYTE *)(v7 + 917) ) return nullptr; v9 = cocos2d::CCParticleSystemQuad::create(a2, 0); v9->setTag(v9, 0); v9->setPositionType(v9, kCCPositionTypeGrouped); LOBYTE(v10) = 1; v9->setAutoRemoveOnFinish(v9, v10); a1->m_objectLayer->addChild_0(a1->m_objectLayer, v9, 0); ((void (__fastcall *)(struct cocos2d::CCParticleSystemQuad *, cocos2d::CCPoint))v9->setPosition_0)(v9, a5); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source