{"type": "func", "start": 4297975856, "end": 4297976060, "name": "GJEffectManager::processPulseActions", "pseudocode": "// \n// GJEffectManager::processPulseActions from 0x1002de830 to 0x1002de8fc (204 bytes)\n// \n// 0 xrefs:\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; // r14\n  __int64 v2; // r15\n  unsigned __int64 v3; // r13\n  ColorAction *ColorAction; // rax\n  ColorActionSprite *m_colorSprite; // r12\n\n  begin = a1->m_pulseEffectVector.__begin_;\n  if ( a1->m_pulseEffectVector.__end_ != begin )\n  {\n    v2 = 0;\n    v3 = 0;\n    do\n    {\n      ColorAction = GJEffectManager::getColorAction(a1, begin[v2].m_targetGroupID);\n      if ( !begin[v2].m_colorIndex && !ColorAction->m_copyID )\n      {\n        m_colorSprite = ColorAction->m_colorSprite;\n        m_colorSprite->m_copyColor = GJEffectManager::colorForPulseEffect(a1, &m_colorSprite->m_copyColor, &begin[v2]);\n      }\n      ++v3;\n      begin = a1->m_pulseEffectVector.__begin_;\n      ++v2;\n    }\n    while ( 0x8E38E38E38E38E39LL * (((char *)a1->m_pulseEffectVector.__end_ - (char *)begin) >> 3) > v3 );\n  }\n}", "assembly": "; \n; GJEffectManager::processPulseActions from 0x1002de830 to 0x1002de8fc (204 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1002de830\nmov     rbp, rsp                                                       ; +0x1, 0x1002de831\npush    r15                                                            ; +0x4, 0x1002de834\npush    r14                                                            ; +0x6, 0x1002de836\npush    r13                                                            ; +0x8, 0x1002de838\npush    r12                                                            ; +0xa, 0x1002de83a\npush    rbx                                                            ; +0xc, 0x1002de83c\npush    rax                                                            ; +0xd, 0x1002de83d\nmov     r14, [rdi+158h]                                                ; +0xe, 0x1002de83e\ncmp     [rdi+160h], r14                                                ; +0x15, 0x1002de845\njz      loc_1002DE8ED                                                  ; +0x1c, 0x1002de84c\nmov     rbx, rdi                                                       ; +0x22, 0x1002de852\nxor     r15d, r15d                                                     ; +0x25, 0x1002de855\nmov     r12, 8E38E38E38E38E39h                                         ; +0x28, 0x1002de858\nxor     r13d, r13d                                                     ; +0x32, 0x1002de862\njmp     short loc_1002DE895                                            ; +0x35, 0x1002de865\nalign 10h                                                              ; +0x37, 0x1002de867\ninc     r13                                                            ; +0x40, 0x1002de870\nmov     r14, [rbx+158h]                                                ; +0x43, 0x1002de873\nmov     rax, [rbx+160h]                                                ; +0x4a, 0x1002de87a\nsub     rax, r14                                                       ; +0x51, 0x1002de881\nsar     rax, 3                                                         ; +0x54, 0x1002de884\nimul    rax, r12                                                       ; +0x58, 0x1002de888\nadd     r15, 48h ; 'H'                                                 ; +0x5c, 0x1002de88c\ncmp     rax, r13                                                       ; +0x60, 0x1002de890\njbe     short loc_1002DE8ED                                            ; +0x63, 0x1002de893\nmov     esi, [r14+r15+14h]                                             ; +0x65, 0x1002de895\nmov     rdi, rbx                                                       ; +0x6a, 0x1002de89a\ncall    GJEffectManager__getColorAction                                ; +0x6d, 0x1002de89d\ncmp     dword ptr [r14+r15+34h], 0                                     ; +0x72, 0x1002de8a2\njnz     short loc_1002DE870                                            ; +0x78, 0x1002de8a8\ncmp     dword ptr [rax+78h], 0                                         ; +0x7a, 0x1002de8aa\njnz     short loc_1002DE870                                            ; +0x7e, 0x1002de8ae\nadd     r14, r15                                                       ; +0x80, 0x1002de8b0\nmov     r12, [rax+90h]                                                 ; +0x83, 0x1002de8b3\nlea     rsi, [r12+143h]                                                ; +0x8a, 0x1002de8ba\nmov     rdi, rbx                                                       ; +0x92, 0x1002de8c2\nmov     rdx, r14                                                       ; +0x95, 0x1002de8c5\ncall    GJEffectManager__colorForPulseEffect                           ; +0x98, 0x1002de8c8\nmov     [r12+143h], ax                                                 ; +0x9d, 0x1002de8cd\nshr     eax, 10h                                                       ; +0xa6, 0x1002de8d6\nmov     [r12+145h], al                                                 ; +0xa9, 0x1002de8d9\nmov     r12, 8E38E38E38E38E39h                                         ; +0xb1, 0x1002de8e1\njmp     short loc_1002DE870                                            ; +0xbb, 0x1002de8eb\nadd     rsp, 8                                                         ; +0xbd, 0x1002de8ed\npop     rbx                                                            ; +0xc1, 0x1002de8f1\npop     r12                                                            ; +0xc2, 0x1002de8f2\npop     r13                                                            ; +0xc4, 0x1002de8f4\npop     r14                                                            ; +0xc6, 0x1002de8f6\npop     r15                                                            ; +0xc8, 0x1002de8f8\npop     rbp                                                            ; +0xca, 0x1002de8fa\nretn                                                                   ; +0xcb, 0x1002de8fb", "xrefs": [], "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"}