{"type": "func", "start": 4295029504, "end": 4295029692, "name": "GJEffectManager::processPulseActions", "pseudocode": "// \n// GJEffectManager::processPulseActions from 0x10000f300 to 0x10000f3bc (188 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::processColors @ 0x10000f250\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 __fastcall GJEffectManager::processPulseActions(GJEffectManager *a1)\n{\n  PulseEffectAction *begin; // x8\n  __int64 v3; // x22\n  unsigned __int64 v4; // x23\n  PulseEffectAction *v5; // x20\n  ColorAction *ColorAction; // x0\n  ColorActionSprite *m_colorSprite; // x25\n\n  begin = a1->m_pulseEffectVector.__begin_;\n  if ( a1->m_pulseEffectVector.__end_ != begin )\n  {\n    v3 = 0;\n    v4 = 0;\n    do\n    {\n      v5 = &begin[v3];\n      ColorAction = GJEffectManager::getColorAction(a1, begin[v3].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      ++v4;\n      begin = a1->m_pulseEffectVector.__begin_;\n      ++v3;\n    }\n    while ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.__end_ - (char *)begin) >> 3) > v4 );\n  }\n}", "assembly": "; \n; GJEffectManager::processPulseActions from 0x10000f300 to 0x10000f3bc (188 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::processColors @ 0x10000f250\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\nLDP             X8, X9, [X0,#0x158]                                    ; +0x0, 0x10000f300\nCMP             X9, X8                                                 ; +0x4, 0x10000f304\nB.EQ            locret_10000F3B8                                       ; +0x8, 0x10000f308\nSTP             X26, X25, [SP,#var_50]!                                ; +0xc, 0x10000f30c\nSTP             X24, X23, [SP,#0x50+var_40]                            ; +0x10, 0x10000f310\nSTP             X22, X21, [SP,#0x50+var_30]                            ; +0x14, 0x10000f314\nSTP             X20, X19, [SP,#0x50+var_20]                            ; +0x18, 0x10000f318\nSTP             X29, X30, [SP,#0x50+var_10]                            ; +0x1c, 0x10000f31c\nADD             X29, SP, #0x50+var_10                                  ; +0x20, 0x10000f320\nMOV             X19, X0                                                ; +0x24, 0x10000f324\nMOV             X22, #0                                                ; +0x28, 0x10000f328\nMOV             X23, #0                                                ; +0x2c, 0x10000f32c\nMOV             X24, #0x8E38E38E38E38E39                               ; +0x30, 0x10000f330\nADD             X20, X8, X22                                           ; +0x40, 0x10000f340\nLDR             W1, [X20,#0x14]                                        ; +0x44, 0x10000f344\nMOV             X0, X19                                                ; +0x48, 0x10000f348\nBL              GJEffectManager__getColorAction                        ; +0x4c, 0x10000f34c\nLDR             W8, [X20,#0x34]                                        ; +0x50, 0x10000f350\nCBNZ            W8, loc_10000F384                                      ; +0x54, 0x10000f354\nLDR             W8, [X0,#0x78]                                         ; +0x58, 0x10000f358\nCBNZ            W8, loc_10000F384                                      ; +0x5c, 0x10000f35c\nLDR             X25, [X0,#0x90]                                        ; +0x60, 0x10000f360\nADD             X21, X25, #0x143                                       ; +0x64, 0x10000f364\nMOV             X0, X19                                                ; +0x68, 0x10000f368\nMOV             X1, X21                                                ; +0x6c, 0x10000f36c\nMOV             X2, X20                                                ; +0x70, 0x10000f370\nBL              GJEffectManager__colorForPulseEffect                   ; +0x74, 0x10000f374\nSTRH            W0, [X21]                                              ; +0x78, 0x10000f378\nLSR             W8, W0, #0x10                                          ; +0x7c, 0x10000f37c\nSTRB            W8, [X25,#0x145]                                       ; +0x80, 0x10000f380\nADD             X23, X23, #1                                           ; +0x84, 0x10000f384\nLDP             X8, X9, [X19,#0x158]                                   ; +0x88, 0x10000f388\nSUB             X9, X9, X8                                             ; +0x8c, 0x10000f38c\nASR             X9, X9, #3                                             ; +0x90, 0x10000f390\nMUL             X9, X9, X24                                            ; +0x94, 0x10000f394\nADD             X22, X22, #0x48 ; 'H'                                  ; +0x98, 0x10000f398\nCMP             X9, X23                                                ; +0x9c, 0x10000f39c\nB.HI            loc_10000F340                                          ; +0xa0, 0x10000f3a0\nLDP             X29, X30, [SP,#0x50+var_10]                            ; +0xa4, 0x10000f3a4\nLDP             X20, X19, [SP,#0x50+var_20]                            ; +0xa8, 0x10000f3a8\nLDP             X22, X21, [SP,#0x50+var_30]                            ; +0xac, 0x10000f3ac\nLDP             X24, X23, [SP,#0x50+var_40]                            ; +0xb0, 0x10000f3b0\nLDP             X26, X25, [SP+0x50+var_50],#0x50                       ; +0xb4, 0x10000f3b4\nRET                                                                    ; +0xb8, 0x10000f3b8", "xrefs": ["GJEffectManager::processColors @ 0x10000f250"], "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"}