{"type": "func", "start": 5372426208, "end": 5372426327, "name": "PlayerObject::resetAllParticles", "pseudocode": "// \n// PlayerObject::resetAllParticles from 0x14038b7e0 to 0x14038b857 (119 bytes)\n// \n// 5 xrefs:\n// > MenuGameLayer::resetPlayer @ 0x140332829\n// > PlayerObject::toggleVisibility @ 0x14038b4fc\n// > <???> @ 0x140697518\n// > <???> @ 0x140697528\n// > <???> @ 0x1406d5ff0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid PlayerObject::resetAllParticles(PlayerObject *a1)\n{\n  unsigned int i; // edi\n  cocos2d::CCParticleSystem *v3; // rbx\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_particleSystems); ++i )\n  {\n    v3 = (cocos2d::CCParticleSystem *)cocos2d::CCArray::objectAtIndex(a1->m_particleSystems, i);\n    cocos2d::CCParticleSystem::resetSystem(v3);\n    cocos2d::CCParticleSystem::stopSystem(v3);\n  }\n}", "assembly": "; \n; PlayerObject::resetAllParticles from 0x14038b7e0 to 0x14038b857 (119 bytes)\n; \n; 5 xrefs:\n; > MenuGameLayer::resetPlayer @ 0x140332829\n; > PlayerObject::toggleVisibility @ 0x14038b4fc\n; > <???> @ 0x140697518\n; > <???> @ 0x140697528\n; > <???> @ 0x1406d5ff0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x14038b7e0\npush    rdi                                                            ; +0x5, 0x14038b7e5\nsub     rsp, 20h                                                       ; +0x6, 0x14038b7e6\nmov     rsi, rcx                                                       ; +0xa, 0x14038b7ea\nxor     edi, edi                                                       ; +0xd, 0x14038b7ed\nmov     rcx, [rcx+690h]                                                ; +0xf, 0x14038b7ef\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x16, 0x14038b7f6\ntest    eax, eax                                                       ; +0x1c, 0x14038b7fc\njz      short loc_14038B84C                                            ; +0x1e, 0x14038b7fe\nmov     [rsp+28h+arg_0], rbx                                           ; +0x20, 0x14038b800\nnop     word ptr [rax+rax+00000000h]                                   ; +0x25, 0x14038b805\nmov     rcx, [rsi+690h]                                                ; +0x30, 0x14038b810\nmov     edx, edi                                                       ; +0x37, 0x14038b817\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14038b819\nmov     rcx, rax                                                       ; +0x3f, 0x14038b81f\nmov     rbx, rax                                                       ; +0x42, 0x14038b822\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0x45, 0x14038b825\nmov     rcx, rbx                                                       ; +0x4b, 0x14038b82b\ncall    cs:?stopSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::stopSystem(void) ; +0x4e, 0x14038b82e\nmov     rcx, [rsi+690h]                                                ; +0x54, 0x14038b834\ninc     edi                                                            ; +0x5b, 0x14038b83b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5d, 0x14038b83d\ncmp     edi, eax                                                       ; +0x63, 0x14038b843\njb      short loc_14038B810                                            ; +0x65, 0x14038b845\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x67, 0x14038b847\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6c, 0x14038b84c\nadd     rsp, 20h                                                       ; +0x71, 0x14038b851\npop     rdi                                                            ; +0x75, 0x14038b855\nretn                                                                   ; +0x76, 0x14038b856", "xrefs": ["MenuGameLayer::resetPlayer @ 0x140332829", "PlayerObject::toggleVisibility @ 0x14038b4fc", "<???> @ 0x140697518", "<???> @ 0x140697528", "<???> @ 0x1406d5ff0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}