{"type": "func", "start": 6938924, "end": 6939526, "name": "ExplodeItemNode::update", "pseudocode": "// \n// ExplodeItemNode::update from 0x69e12c to 0x69e386 (602 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:56:20 +0000\n// \n\nint __fastcall ExplodeItemNode::update(ExplodeItemNode *this, float a2)\n{\n  float v4; // s16\n  float v5; // s17\n  unsigned int v6; // r7\n  float v7; // s18\n  float v8; // s18\n  bool v9; // cf\n  cocos2d::CCArray *v10; // r0\n  int v11; // r4\n  const cocos2d::CCPoint *v12; // r0\n  float v13; // s15\n  float v14; // s15\n  float v15; // s14\n  float v16; // s14\n  float v17; // s13\n  float v18; // s15\n  float v19; // s15\n  float v20; // s14\n  float v21; // s15\n  void (__fastcall *v22)(int, _DWORD); // r8\n  float v23; // r0\n  float v24; // s15\n  float v25; // s14\n  int v26; // r2\n  int v27; // r8\n  void (__fastcall *v28)(int, int); // r9\n  int v29; // r0\n  cocos2d::CCParticleSystem *v30; // r0\n  int result; // r0\n  _BYTE v32[8]; // [sp+Ch] [bp-1Ch] BYREF\n  _BYTE v33[4]; // [sp+14h] [bp-14h] BYREF\n  float v34; // [sp+18h] [bp-10h]\n  _BYTE v35[8]; // [sp+1Ch] [bp-Ch] BYREF\n\n  v4 = a2 * 54.0;\n  if ( *((_BYTE *)this + 280) )\n    v5 = 0.0;\n  else\n    v5 = v4 * 0.5;\n  v6 = 0;\n  v7 = *((float *)this + 69);\n  v8 = v7 - *(float *)((*(int (__fastcall **)(ExplodeItemNode *))(*(_DWORD *)this + 96))(this) + 4);\n  while ( 1 )\n  {\n    v9 = v6 >= cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 67));\n    v10 = *((cocos2d::CCArray **)this + 67);\n    if ( v9 )\n      break;\n    v11 = cocos2d::CCArray::objectAtIndex(v10, v6);\n    v12 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v11 + 96))(v11);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v32, v12);\n    v13 = *(float *)(v11 + 516) - a2;\n    *(float *)(v11 + 516) = v13;\n    if ( v13 <= 0.0 )\n    {\n      v30 = *(cocos2d::CCParticleSystem **)(v11 + 528);\n      if ( v30 )\n      {\n        cocos2d::CCParticleSystem::stopSystem(v30);\n        (*(void (__fastcall **)(_DWORD))(**(_DWORD **)(v11 + 528) + 268))(*(_DWORD *)(v11 + 528));\n        *(_DWORD *)(v11 + 528) = 0;\n      }\n      cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 67), v6, 1);\n      (*(void (__fastcall **)(int))(*(_DWORD *)v11 + 268))(v11);\n    }\n    else\n    {\n      v14 = *(float *)(v11 + 512) - v5;\n      v15 = (float)((float)((float)(1.0 - v4) * 0.02) + 0.98) * *(float *)(v11 + 508);\n      *(float *)(v11 + 512) = v14;\n      *(float *)(v11 + 508) = v15;\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v35, v15 * v4, v14 * v4);\n      cocos2d::CCPoint::operator+(v33, v32, v35);\n      v16 = *(float *)(v11 + 344);\n      v17 = *(float *)(v11 + 348);\n      if ( v16 > v17 )\n        v18 = v17 * 0.5;\n      else\n        v18 = v16 * 0.5;\n      v19 = v8 + v18;\n      if ( v34 < v19 )\n      {\n        v20 = *(float *)(v11 + 512);\n        if ( v20 < 0.0 )\n        {\n          v34 = v19;\n          v21 = v20 * -0.8;\n          if ( (float)(v20 * -0.8) < 1.5 )\n            v21 = 1.5;\n          *(float *)(v11 + 512) = v21;\n        }\n      }\n      (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 92))(v11, v33);\n      v22 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v11 + 180);\n      v23 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v11 + 184))(v11));\n      v22(v11, v23 + (float)(v4 * *(float *)(v11 + 524)));\n      v24 = *(float *)(v11 + 516);\n      v25 = *(float *)(v11 + 520);\n      if ( v24 < v25 )\n      {\n        (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v11 + 456))(\n          v11,\n          (unsigned __int8)(unsigned int)(float)((float)(v24 / v25) * 255.0));\n        v26 = *(_DWORD *)(v11 + 528);\n        if ( v26 )\n          *(_BYTE *)(v26 + 742) = (unsigned int)(float)((float)(*(float *)(v11 + 516) / *(float *)(v11 + 520)) * 255.0);\n      }\n      v27 = *(_DWORD *)(v11 + 528);\n      if ( v27 )\n      {\n        v28 = *(void (__fastcall **)(int, int))(*(_DWORD *)v27 + 92);\n        v29 = (*(int (__fastcall **)(int))(*(_DWORD *)v11 + 96))(v11);\n        v28(v27, v29);\n      }\n      ++v6;\n    }\n  }\n  result = cocos2d::CCArray::count(v10);\n  if ( !result )\n  {\n    cocos2d::CCNode::unscheduleUpdate(this);\n    return (*(int (__fastcall **)(ExplodeItemNode *))(*(_DWORD *)this + 268))(this);\n  }\n  return result;\n}", "assembly": "; \n; ExplodeItemNode::update from 0x69e12c to 0x69e386 (602 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:56:20 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x69e12c\nMOV             R5, R0                                                 ; +0x4, 0x69e130\nVPUSH           {D8-D11}                                               ; +0x6, 0x69e132\nLDR             R2, =(__stack_chk_guard_ptr - 0x69E13C)                ; +0xa, 0x69e136\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0xc, 0x69e138\nLDR             R2, [R2]; __stack_chk_guard                            ; +0xe, 0x69e13a\nVLDR            S16, =54.0                                             ; +0x10, 0x69e13c\nSUB             SP, SP, #0x28                                          ; +0x14, 0x69e140\nLDR             R3, [R2]                                               ; +0x16, 0x69e142\nMOV             R6, R2                                                 ; +0x18, 0x69e144\nVMOV            S19, R1                                                ; +0x1a, 0x69e146\nSTR             R3, [SP,#0x28+var_4]                                   ; +0x1e, 0x69e14a\nVMUL.F32        S16, S19, S16                                          ; +0x20, 0x69e14c\nLDRB.W          R3, [R0,#0x118]                                        ; +0x24, 0x69e150\nCBNZ            R3, loc_69E160                                         ; +0x28, 0x69e154\nVMOV.F32        S17, #0.5                                              ; +0x2a, 0x69e156\nVMUL.F32        S17, S16, S17                                          ; +0x2e, 0x69e15a\nB               loc_69E164                                             ; +0x32, 0x69e15e\nVLDR            S17, =0.0                                              ; +0x34, 0x69e160\nLDR             R3, [R5]                                               ; +0x38, 0x69e164\nMOV             R0, R5                                                 ; +0x3a, 0x69e166\nMOVS            R7, #0                                                 ; +0x3c, 0x69e168\nVLDR            S18, [R5,#0x114]                                       ; +0x3e, 0x69e16a\nLDR             R3, [R3,#0x60]                                         ; +0x42, 0x69e16e\nBLX             R3                                                     ; +0x44, 0x69e170\nVLDR            S21, =0.02                                             ; +0x46, 0x69e172\nVLDR            S22, =0.98                                             ; +0x4a, 0x69e176\nVLDR            S20, =255.0                                            ; +0x4e, 0x69e17a\nVLDR            S13, [R0,#4]                                           ; +0x52, 0x69e17e\nVSUB.F32        S18, S18, S13                                          ; +0x56, 0x69e182\nLDR.W           R0, [R5,#0x10C]; this                                  ; +0x5a, 0x69e186\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5e, 0x69e18a\nCMP             R7, R0                                                 ; +0x62, 0x69e18e\nLDR.W           R0, [R5,#0x10C]; this                                  ; +0x64, 0x69e190\nBCS.W           loc_69E354                                             ; +0x68, 0x69e194\nMOV             R1, R7; unsigned int                                   ; +0x6c, 0x69e198\nADD.W           R10, SP, #0x28+var_1C                                  ; +0x6e, 0x69e19a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x72, 0x69e19e\nLDR             R3, [R0]                                               ; +0x76, 0x69e1a2\nMOV             R4, R0                                                 ; +0x78, 0x69e1a4\nLDR             R3, [R3,#0x60]                                         ; +0x7a, 0x69e1a6\nBLX             R3                                                     ; +0x7c, 0x69e1a8\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x7e, 0x69e1aa\nMOV             R0, R10; this                                          ; +0x80, 0x69e1ac\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x82, 0x69e1ae\nVLDR            S15, [R4,#0x204]                                       ; +0x86, 0x69e1b2\nVSUB.F32        S15, S15, S19                                          ; +0x8a, 0x69e1b6\nVCMPE.F32       S15, #0.0                                              ; +0x8e, 0x69e1ba\nVSTR            S15, [R4,#0x204]                                       ; +0x92, 0x69e1be\nVMRS            APSR_nzcv, FPSCR                                       ; +0x96, 0x69e1c2\nBLE.W           loc_69E320                                             ; +0x9a, 0x69e1c6\nVMOV.F32        S14, #1.0                                              ; +0x9e, 0x69e1ca\nADD.W           R9, SP, #0x28+var_C                                    ; +0xa2, 0x69e1ce\nVLDR            S15, [R4,#0x200]                                       ; +0xa6, 0x69e1d2\nADD.W           R8, SP, #0x28+var_14                                   ; +0xaa, 0x69e1d6\nMOV             R0, R9; this                                           ; +0xae, 0x69e1da\nVSUB.F32        S14, S14, S16                                          ; +0xb0, 0x69e1dc\nVMOV.F32        S13, S22                                               ; +0xb4, 0x69e1e0\nVMLA.F32        S13, S14, S21                                          ; +0xb8, 0x69e1e4\nVMOV.F32        S14, S13                                               ; +0xbc, 0x69e1e8\nVLDR            S13, [R4,#0x1FC]                                       ; +0xc0, 0x69e1ec\nVSUB.F32        S15, S15, S17                                          ; +0xc4, 0x69e1f0\nVMUL.F32        S14, S14, S13                                          ; +0xc8, 0x69e1f4\nVSTR            S15, [R4,#0x200]                                       ; +0xcc, 0x69e1f8\nVSTR            S14, [R4,#0x1FC]                                       ; +0xd0, 0x69e1fc\nVMUL.F32        S15, S15, S16                                          ; +0xd4, 0x69e200\nVMUL.F32        S14, S14, S16                                          ; +0xd8, 0x69e204\nVMOV            R2, S15; float                                         ; +0xdc, 0x69e208\nVMOV            R1, S14; float                                         ; +0xe0, 0x69e20c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe4, 0x69e210\nMOV             R0, R8                                                 ; +0xe8, 0x69e214\nMOV             R1, R10                                                ; +0xea, 0x69e216\nMOV             R2, R9                                                 ; +0xec, 0x69e218\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xee, 0x69e21a\nVMOV.F32        S15, #0.5                                              ; +0xf2, 0x69e21e\nVLDR            S14, [R4,#0x158]                                       ; +0xf6, 0x69e222\nVLDR            S13, [R4,#0x15C]                                       ; +0xfa, 0x69e226\nVCMPE.F32       S14, S13                                               ; +0xfe, 0x69e22a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x102, 0x69e22e\nIT LE                                                                  ; +0x106, 0x69e232\nVMULLE.F32      S15, S14, S15                                          ; +0x108, 0x69e234\nVLDR            S14, [SP,#0x28+var_10]                                 ; +0x10c, 0x69e238\nIT GT                                                                  ; +0x110, 0x69e23c\nVMULGT.F32      S15, S13, S15                                          ; +0x112, 0x69e23e\nVADD.F32        S15, S18, S15                                          ; +0x116, 0x69e242\nVCMPE.F32       S14, S15                                               ; +0x11a, 0x69e246\nVMRS            APSR_nzcv, FPSCR                                       ; +0x11e, 0x69e24a\nBPL             loc_69E280                                             ; +0x122, 0x69e24e\nVLDR            S14, [R4,#0x200]                                       ; +0x124, 0x69e250\nVCMPE.F32       S14, #0.0                                              ; +0x128, 0x69e254\nVMRS            APSR_nzcv, FPSCR                                       ; +0x12c, 0x69e258\nBPL             loc_69E280                                             ; +0x130, 0x69e25c\nVSTR            S15, [SP,#0x28+var_10]                                 ; +0x132, 0x69e25e\nVLDR            S15, =-0.8                                             ; +0x136, 0x69e262\nVMUL.F32        S15, S14, S15                                          ; +0x13a, 0x69e266\nVMOV.F32        S14, #1.5                                              ; +0x13e, 0x69e26a\nVCMPE.F32       S15, S14                                               ; +0x142, 0x69e26e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x146, 0x69e272\nIT MI                                                                  ; +0x14a, 0x69e276\nVMOVMI.F32      S15, S14                                               ; +0x14c, 0x69e278\nVSTR            S15, [R4,#0x200]                                       ; +0x150, 0x69e27c\nLDR             R3, [R4]                                               ; +0x154, 0x69e280\nMOV             R1, R8                                                 ; +0x156, 0x69e282\nMOV             R0, R4                                                 ; +0x158, 0x69e284\nLDR             R3, [R3,#0x5C]                                         ; +0x15a, 0x69e286\nBLX             R3                                                     ; +0x15c, 0x69e288\nLDR             R3, [R4]                                               ; +0x15e, 0x69e28a\nMOV             R0, R4                                                 ; +0x160, 0x69e28c\nLDR.W           R8, [R3,#0xB4]                                         ; +0x162, 0x69e28e\nLDR.W           R3, [R3,#0xB8]                                         ; +0x166, 0x69e292\nBLX             R3                                                     ; +0x16a, 0x69e296\nVLDR            S15, [R4,#0x20C]                                       ; +0x16c, 0x69e298\nVMOV            S14, R0                                                ; +0x170, 0x69e29c\nMOV             R0, R4                                                 ; +0x174, 0x69e2a0\nVMLA.F32        S14, S16, S15                                          ; +0x176, 0x69e2a2\nVMOV            R1, S14                                                ; +0x17a, 0x69e2a6\nBLX             R8                                                     ; +0x17e, 0x69e2aa\nVLDR            S15, [R4,#0x204]                                       ; +0x180, 0x69e2ac\nVLDR            S14, [R4,#0x208]                                       ; +0x184, 0x69e2b0\nVCMPE.F32       S15, S14                                               ; +0x188, 0x69e2b4\nVMRS            APSR_nzcv, FPSCR                                       ; +0x18c, 0x69e2b8\nBPL             loc_69E2FE                                             ; +0x190, 0x69e2bc\nVDIV.F32        S15, S15, S14                                          ; +0x192, 0x69e2be\nLDR             R3, [R4]                                               ; +0x196, 0x69e2c2\nMOV             R0, R4                                                 ; +0x198, 0x69e2c4\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x19a, 0x69e2c6\nVMUL.F32        S15, S15, S20                                          ; +0x19e, 0x69e2ca\nVCVT.U32.F32    S15, S15                                               ; +0x1a2, 0x69e2ce\nVSTR            S15, [SP,#0x28+var_24]                                 ; +0x1a6, 0x69e2d2\nLDRB.W          R1, [SP,#0x28+var_24]                                  ; +0x1aa, 0x69e2d6\nBLX             R3                                                     ; +0x1ae, 0x69e2da\nLDR.W           R2, [R4,#0x210]                                        ; +0x1b0, 0x69e2dc\nCBZ             R2, loc_69E2FE                                         ; +0x1b4, 0x69e2e0\nVLDR            S15, [R4,#0x204]                                       ; +0x1b6, 0x69e2e2\nVLDR            S14, [R4,#0x208]                                       ; +0x1ba, 0x69e2e6\nVDIV.F32        S15, S15, S14                                          ; +0x1be, 0x69e2ea\nVMUL.F32        S15, S15, S20                                          ; +0x1c2, 0x69e2ee\nVCVT.U32.F32    S15, S15                                               ; +0x1c6, 0x69e2f2\nVMOV            R3, S15                                                ; +0x1ca, 0x69e2f6\nSTRB.W          R3, [R2,#0x2E6]                                        ; +0x1ce, 0x69e2fa\nLDR.W           R8, [R4,#0x210]                                        ; +0x1d2, 0x69e2fe\nCMP.W           R8, #0                                                 ; +0x1d6, 0x69e302\nBEQ             loc_69E36C                                             ; +0x1da, 0x69e306\nLDR.W           R3, [R8]                                               ; +0x1dc, 0x69e308\nMOV             R0, R4                                                 ; +0x1e0, 0x69e30c\nLDR.W           R9, [R3,#0x5C]                                         ; +0x1e2, 0x69e30e\nLDR             R3, [R4]                                               ; +0x1e6, 0x69e312\nLDR             R3, [R3,#0x60]                                         ; +0x1e8, 0x69e314\nBLX             R3                                                     ; +0x1ea, 0x69e316\nMOV             R1, R0                                                 ; +0x1ec, 0x69e318\nMOV             R0, R8                                                 ; +0x1ee, 0x69e31a\nBLX             R9                                                     ; +0x1f0, 0x69e31c\nB               loc_69E36C                                             ; +0x1f2, 0x69e31e\nLDR.W           R0, [R4,#0x210]; this                                  ; +0x1f4, 0x69e320\nCBZ             R0, loc_69E33C                                         ; +0x1f8, 0x69e324\nBL              _ZN7cocos2d16CCParticleSystem10stopSystemEv; cocos2d::CCParticleSystem::stopSystem(void) ; +0x1fa, 0x69e326\nLDR.W           R0, [R4,#0x210]                                        ; +0x1fe, 0x69e32a\nLDR             R3, [R0]                                               ; +0x202, 0x69e32e\nLDR.W           R3, [R3,#0x10C]                                        ; +0x204, 0x69e330\nBLX             R3                                                     ; +0x208, 0x69e334\nMOVS            R3, #0                                                 ; +0x20a, 0x69e336\nSTR.W           R3, [R4,#0x210]                                        ; +0x20c, 0x69e338\nLDR.W           R0, [R5,#0x10C]; this                                  ; +0x210, 0x69e33c\nMOV             R1, R7; unsigned int                                   ; +0x214, 0x69e340\nMOVS            R2, #1; bool                                           ; +0x216, 0x69e342\nBL              _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x218, 0x69e344\nLDR             R3, [R4]                                               ; +0x21c, 0x69e348\nMOV             R0, R4                                                 ; +0x21e, 0x69e34a\nLDR.W           R3, [R3,#0x10C]                                        ; +0x220, 0x69e34c\nBLX             R3                                                     ; +0x224, 0x69e350\nB               loc_69E186                                             ; +0x226, 0x69e352\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x228, 0x69e354\nCBNZ            R0, loc_69E370                                         ; +0x22c, 0x69e358\nMOV             R0, R5; this                                           ; +0x22e, 0x69e35a\nBL              _ZN7cocos2d6CCNode16unscheduleUpdateEv; cocos2d::CCNode::unscheduleUpdate(void) ; +0x230, 0x69e35c\nLDR             R3, [R5]                                               ; +0x234, 0x69e360\nMOV             R0, R5                                                 ; +0x236, 0x69e362\nLDR.W           R3, [R3,#0x10C]                                        ; +0x238, 0x69e364\nBLX             R3                                                     ; +0x23c, 0x69e368\nB               loc_69E370                                             ; +0x23e, 0x69e36a\nADDS            R7, #1                                                 ; +0x240, 0x69e36c\nB               loc_69E186                                             ; +0x242, 0x69e36e\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x244, 0x69e370\nLDR             R3, [R6]                                               ; +0x246, 0x69e372\nCMP             R2, R3                                                 ; +0x248, 0x69e374\nBEQ             loc_69E37C                                             ; +0x24a, 0x69e376\nBLX             __stack_chk_fail                                       ; +0x24c, 0x69e378\nADD             SP, SP, #0x28 ; '('                                    ; +0x250, 0x69e37c\nVPOP            {D8-D11}                                               ; +0x252, 0x69e37e\nPOP.W           {R4-R10,PC}                                            ; +0x256, 0x69e382", "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"}