{"type": "func", "start": 4826128, "end": 4826228, "name": "GJEffectManager::processPulseActions", "pseudocode": "// \n// GJEffectManager::processPulseActions from 0x49a410 to 0x49a474 (100 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::processColors @ 0x49c942\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 GJEffectManager::processPulseActions(GJEffectManager *a1)\n{\n  unsigned int i; // r8\n  PulseEffectAction *m_start; // r4\n  PulseEffectAction *v4; // r4\n  ColorAction *ColorAction; // r0\n  ColorActionSprite *m_colorSprite; // r9\n  int v7; // r0\n\n  for ( i = 0; ; ++i )\n  {\n    m_start = a1->m_pulseEffectVector.m_start;\n    if ( i >= 954437177 * (((char *)a1->m_pulseEffectVector.m_finish - (char *)m_start) >> 3) )\n      break;\n    v4 = &m_start[i];\n    ColorAction = GJEffectManager::getColorAction(a1, v4->m_targetGroupID);\n    m_colorSprite = ColorAction->m_colorSprite;\n    if ( !v4->m_colorIndex && !ColorAction->m_copyID )\n    {\n      *(cocos2d::ccColor3B *)&v7 = GJEffectManager::colorForPulseEffect(a1, &m_colorSprite->m_copyColor, v4);\n      *(_WORD *)&m_colorSprite->m_copyColor.r = v7;\n      m_colorSprite->m_copyColor.b = BYTE2(v7);\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::processPulseActions from 0x49a410 to 0x49a474 (100 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::processColors @ 0x49c942\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\nPUSH.W          {R3-R9,LR}                                             ; +0x0, 0x49a410\nMOV             R7, R0                                                 ; +0x4, 0x49a414\nLDR             R5, =0x38E38E39                                        ; +0x6, 0x49a416\nMOV.W           R8, #0                                                 ; +0x8, 0x49a418\nMOVS            R6, #0x48 ; 'H'                                        ; +0xc, 0x49a41c\nLDR.W           R4, [R7,#0x114]                                        ; +0xe, 0x49a41e\nLDR.W           R3, [R7,#0x118]                                        ; +0x12, 0x49a422\nSUBS            R3, R3, R4                                             ; +0x16, 0x49a426\nASRS            R3, R3, #3                                             ; +0x18, 0x49a428\nMULS            R3, R5                                                 ; +0x1a, 0x49a42a\nCMP             R8, R3                                                 ; +0x1c, 0x49a42c\nBCS             locret_49A44E                                          ; +0x1e, 0x49a42e\nMLA             R4, R6, R8, R4                                         ; +0x20, 0x49a430\nMOV             R0, R7; this                                           ; +0x24, 0x49a434\nLDR             R1, [R4,#0x14]; int                                    ; +0x26, 0x49a436\nBL              _ZN15GJEffectManager14getColorActionEi; GJEffectManager::getColorAction(int) ; +0x28, 0x49a438\nLDR             R3, [R4,#0x34]                                         ; +0x2c, 0x49a43c\nLDR.W           R9, [R0,#0x88]                                         ; +0x2e, 0x49a43e\nCBNZ            R3, loc_49A448                                         ; +0x32, 0x49a442\nLDR             R3, [R0,#0x74]                                         ; +0x34, 0x49a444\nCBZ             R3, loc_49A452                                         ; +0x36, 0x49a446\nADD.W           R8, R8, #1                                             ; +0x38, 0x49a448\nB               loc_49A41E                                             ; +0x3c, 0x49a44c\nPOP.W           {R3-R9,PC}                                             ; +0x3e, 0x49a44e\nMOV             R0, R7                                                 ; +0x42, 0x49a452\nADDW            R1, R9, #0x10F                                         ; +0x44, 0x49a454\nMOV             R2, R4                                                 ; +0x48, 0x49a458\nBL              _ZN15GJEffectManager19colorForPulseEffectERKN7cocos2d10_ccColor3BEP17PulseEffectAction; GJEffectManager::colorForPulseEffect(cocos2d::_ccColor3B const&,PulseEffectAction *) ; +0x4a, 0x49a45a\nUBFX.W          R3, R0, #8, #8                                         ; +0x4e, 0x49a45e\nSTRB.W          R0, [R9,#0x10F]                                        ; +0x52, 0x49a462\nSTRB.W          R3, [R9,#0x110]                                        ; +0x56, 0x49a466\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x5a, 0x49a46a\nSTRB.W          R0, [R9,#0x111]                                        ; +0x5e, 0x49a46e\nB               loc_49A448                                             ; +0x62, 0x49a472", "xrefs": ["GJEffectManager::processColors @ 0x49c942"], "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"}