{"type": "func", "start": 6701784, "end": 6701856, "name": "CreateParticlePopup::onAnimateOnTrigger", "pseudocode": "// \n// CreateParticlePopup::onAnimateOnTrigger from 0x6642d8 to 0x664320 (72 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:55:39 +0000\n// \n\nunsigned int __fastcall CreateParticlePopup::onAnimateOnTrigger(unsigned int this, cocos2d::CCObject *a2)\n{\n  unsigned int v2; // r5\n  unsigned int v3; // r4\n  char v4; // r3\n  int v5; // r0\n\n  v2 = this;\n  v3 = *(_DWORD *)(this + 528);\n  v4 = *(_BYTE *)(this + 705) ^ 1;\n  *(_BYTE *)(this + 705) = v4;\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1237) = v4;\n  }\n  else if ( *(_DWORD *)(this + 532) )\n  {\n    while ( 1 )\n    {\n      this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 532));\n      if ( v3 >= this )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 532), v3++);\n      *(_BYTE *)(v5 + 1237) = *(_BYTE *)(v2 + 705);\n    }\n  }\n  return this;\n}", "assembly": "; \n; CreateParticlePopup::onAnimateOnTrigger from 0x6642d8 to 0x664320 (72 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:55:39 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x6642d8\nMOV             R5, R0                                                 ; +0x2, 0x6642da\nLDR.W           R4, [R0,#0x210]                                        ; +0x4, 0x6642dc\nLDRB.W          R3, [R0,#0x2C1]                                        ; +0x8, 0x6642e0\nEOR.W           R3, R3, #1                                             ; +0xc, 0x6642e4\nSTRB.W          R3, [R0,#0x2C1]                                        ; +0x10, 0x6642e8\nCBZ             R4, loc_6642F4                                         ; +0x14, 0x6642ec\nSTRB.W          R3, [R4,#0x4D5]                                        ; +0x16, 0x6642ee\nPOP             {R3-R5,PC}                                             ; +0x1a, 0x6642f2\nLDR.W           R3, [R0,#0x214]                                        ; +0x1c, 0x6642f4\nCBNZ            R3, loc_6642FC                                         ; +0x20, 0x6642f8\nPOP             {R3-R5,PC}                                             ; +0x22, 0x6642fa\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x24, 0x6642fc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x664300\nCMP             R4, R0                                                 ; +0x2c, 0x664304\nBCS             locret_66431E                                          ; +0x2e, 0x664306\nMOV             R1, R4; unsigned int                                   ; +0x30, 0x664308\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x32, 0x66430a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x66430e\nLDRB.W          R3, [R5,#0x2C1]                                        ; +0x3a, 0x664312\nADDS            R4, #1                                                 ; +0x3e, 0x664316\nSTRB.W          R3, [R0,#0x4D5]                                        ; +0x40, 0x664318\nB               loc_6642FC                                             ; +0x44, 0x66431c\nPOP             {R3-R5,PC}                                             ; +0x46, 0x66431e", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}