{"type": "func", "start": 9174268, "end": 9174496, "name": "GJEffectManager::processPulseActions", "pseudocode": "// \n// GJEffectManager::processPulseActions from 0x8bfcfc to 0x8bfde0 (228 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::processColors @ 0x8c166c\n// > <???> @ 0xae4b0\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  PulseEffectAction *m_start; // x19\n  __int64 v3; // x22\n  unsigned __int64 v4; // x21\n  PulseEffectAction *v5; // x19\n  ColorAction *ColorAction; // x0\n  ColorActionSprite *m_colorSprite; // x23\n\n  m_start = a1->m_pulseEffectVector.m_start;\n  v3 = 0;\n  v4 = 1;\n  if ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.m_finish - (char *)m_start) >> 3) )\n  {\n    do\n    {\n      v5 = &m_start[v3];\n      ColorAction = GJEffectManager::getColorAction(a1, v5->m_targetGroupID);\n      if ( !v5->m_colorIndex && !ColorAction->m_copyID )\n      {\n        m_colorSprite = ColorAction->m_colorSprite;\n        m_colorSprite->m_copyColor = GJEffectManager::colorForPulseEffect(a1, &m_colorSprite->m_copyColor, v5);\n      }\n      m_start = a1->m_pulseEffectVector.m_start;\n      ++v3;\n    }\n    while ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.m_finish - (char *)m_start) >> 3) > v4++ );\n  }\n}", "assembly": "; \n; GJEffectManager::processPulseActions from 0x8bfcfc to 0x8bfde0 (228 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::processColors @ 0x8c166c\n; > <???> @ 0xae4b0\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\nSTP             X29, X30, [SP,#-0x40+var_s0]!                          ; +0x0, 0x8bfcfc\nMOV             X1, #0x8E39                                            ; +0x4, 0x8bfd00\nMOV             X29, SP                                                ; +0x8, 0x8bfd04\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x8bfd08\nLDR             X19, [X0,#0x158]                                       ; +0x10, 0x8bfd0c\nMOV             X20, X0                                                ; +0x14, 0x8bfd10\nLDR             X0, [X0,#0x160]                                        ; +0x18, 0x8bfd14\nMOVK            X1, #0x38E3,LSL#16                                     ; +0x1c, 0x8bfd18\nMOVK            X1, #0xE38E,LSL#32                                     ; +0x20, 0x8bfd1c\nSUB             X0, X0, X19                                            ; +0x24, 0x8bfd20\nMOVK            X1, #0x8E38,LSL#48                                     ; +0x28, 0x8bfd24\nASR             X0, X0, #3                                             ; +0x2c, 0x8bfd28\nSTP             X21, X22, [SP,#var_s20]                                ; +0x30, 0x8bfd2c\nMUL             X0, X0, X1                                             ; +0x34, 0x8bfd30\nSTP             X23, X24, [SP,#var_s30]                                ; +0x38, 0x8bfd34\nMOV             X22, #0                                                ; +0x3c, 0x8bfd38\nMOV             X21, #1                                                ; +0x40, 0x8bfd3c\nCBZ             X0, loc_8BFDCC                                         ; +0x44, 0x8bfd40\nADD             X19, X19, X22                                          ; +0x48, 0x8bfd44\nMOV             X0, X20; this                                          ; +0x4c, 0x8bfd48\nLDR             W1, [X19,#0x14]; int                                   ; +0x50, 0x8bfd4c\nBL              _ZN15GJEffectManager14getColorActionEi; GJEffectManager::getColorAction(int) ; +0x54, 0x8bfd50\nLDR             X23, [X0,#0x90]                                        ; +0x58, 0x8bfd54\nLDR             W1, [X19,#0x34]                                        ; +0x5c, 0x8bfd58\nCBNZ            W1, loc_8BFD94                                         ; +0x60, 0x8bfd5c\nLDR             W3, [X0,#0x78]                                         ; +0x64, 0x8bfd60\nADD             X24, X23, #0x143                                       ; +0x68, 0x8bfd64\nMOV             X0, X20                                                ; +0x6c, 0x8bfd68\nMOV             X1, X24                                                ; +0x70, 0x8bfd6c\nMOV             X2, X19                                                ; +0x74, 0x8bfd70\nCBNZ            W3, loc_8BFD94                                         ; +0x78, 0x8bfd74\nBL              _ZN15GJEffectManager19colorForPulseEffectERKN7cocos2d10_ccColor3BEP17PulseEffectAction; GJEffectManager::colorForPulseEffect(cocos2d::_ccColor3B const&,PulseEffectAction *) ; +0x7c, 0x8bfd78\nSXTW            X0, W0                                                 ; +0x80, 0x8bfd7c\nSTRB            W0, [X23,#0x143]                                       ; +0x84, 0x8bfd80\nUBFX            X1, X0, #8, #8                                         ; +0x88, 0x8bfd84\nUBFX            X0, X0, #0x10, #8                                      ; +0x8c, 0x8bfd88\nSTRB            W1, [X24,#1]                                           ; +0x90, 0x8bfd8c\nSTRB            W0, [X24,#2]                                           ; +0x94, 0x8bfd90\nLDR             X19, [X20,#0x158]                                      ; +0x98, 0x8bfd94\nMOV             X1, #0x8E39                                            ; +0x9c, 0x8bfd98\nLDR             X0, [X20,#0x160]                                       ; +0xa0, 0x8bfd9c\nMOVK            X1, #0x38E3,LSL#16                                     ; +0xa4, 0x8bfda0\nMOVK            X1, #0xE38E,LSL#32                                     ; +0xa8, 0x8bfda4\nADD             X2, X21, #1                                            ; +0xac, 0x8bfda8\nSUB             X0, X0, X19                                            ; +0xb0, 0x8bfdac\nMOVK            X1, #0x8E38,LSL#48                                     ; +0xb4, 0x8bfdb0\nASR             X0, X0, #3                                             ; +0xb8, 0x8bfdb4\nADD             X22, X22, #0x48 ; 'H'                                  ; +0xbc, 0x8bfdb8\nMUL             X0, X0, X1                                             ; +0xc0, 0x8bfdbc\nCMP             X0, X21                                                ; +0xc4, 0x8bfdc0\nMOV             X21, X2                                                ; +0xc8, 0x8bfdc4\nB.HI            loc_8BFD44                                             ; +0xcc, 0x8bfdc8\nLDP             X19, X20, [SP,#var_s10]                                ; +0xd0, 0x8bfdcc\nLDP             X21, X22, [SP,#var_s20]                                ; +0xd4, 0x8bfdd0\nLDP             X23, X24, [SP,#var_s30]                                ; +0xd8, 0x8bfdd4\nLDP             X29, X30, [SP+var_s0],#0x40                            ; +0xdc, 0x8bfdd8\nRET                                                                    ; +0xe0, 0x8bfddc", "xrefs": ["GJEffectManager::processColors @ 0x8c166c", "<???> @ 0xae4b0"], "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"}