{"type": "func", "start": 4297888464, "end": 4297888668, "name": "GJEffectManager::processPulseActions", "pseudocode": "// \n// GJEffectManager::processPulseActions from 0x1002c92d0 to 0x1002c939c (204 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:09 +0000\n// \n\nunsigned __int64 __fastcall GJEffectManager::processPulseActions(__int64 a1)\n{\n  unsigned __int64 result; // rax\n  __int64 v2; // r14\n  __int64 v3; // r15\n  unsigned __int64 v4; // r13\n  char *ColorAction; // rax\n  __int64 v6; // r12\n  int v7; // eax\n\n  v2 = *(_QWORD *)(a1 + 344);\n  if ( *(_QWORD *)(a1 + 352) != v2 )\n  {\n    v3 = 0;\n    v4 = 0;\n    do\n    {\n      ColorAction = GJEffectManager::getColorAction(a1, *(_DWORD *)(v2 + v3 + 20));\n      if ( !*(_DWORD *)(v2 + v3 + 52) && !*((_DWORD *)ColorAction + 30) )\n      {\n        v6 = *((_QWORD *)ColorAction + 18);\n        v7 = GJEffectManager::colorForPulseEffect(a1, v6 + 323, v3 + v2);\n        *(_WORD *)(v6 + 323) = v7;\n        *(_BYTE *)(v6 + 325) = BYTE2(v7);\n      }\n      ++v4;\n      v2 = *(_QWORD *)(a1 + 344);\n      result = 0x8E38E38E38E38E39LL * ((*(_QWORD *)(a1 + 352) - v2) >> 3);\n      v3 += 72;\n    }\n    while ( result > v4 );\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::processPulseActions from 0x1002c92d0 to 0x1002c939c (204 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:09 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002c92d0\nmov     rbp, rsp                                                       ; +0x1, 0x1002c92d1\npush    r15                                                            ; +0x4, 0x1002c92d4\npush    r14                                                            ; +0x6, 0x1002c92d6\npush    r13                                                            ; +0x8, 0x1002c92d8\npush    r12                                                            ; +0xa, 0x1002c92da\npush    rbx                                                            ; +0xc, 0x1002c92dc\npush    rax                                                            ; +0xd, 0x1002c92dd\nmov     r14, [rdi+158h]                                                ; +0xe, 0x1002c92de\ncmp     [rdi+160h], r14                                                ; +0x15, 0x1002c92e5\njz      loc_1002C938D                                                  ; +0x1c, 0x1002c92ec\nmov     rbx, rdi                                                       ; +0x22, 0x1002c92f2\nxor     r15d, r15d                                                     ; +0x25, 0x1002c92f5\nmov     r12, 8E38E38E38E38E39h                                         ; +0x28, 0x1002c92f8\nxor     r13d, r13d                                                     ; +0x32, 0x1002c9302\njmp     short loc_1002C9335                                            ; +0x35, 0x1002c9305\nalign 10h                                                              ; +0x37, 0x1002c9307\ninc     r13                                                            ; +0x40, 0x1002c9310\nmov     r14, [rbx+158h]                                                ; +0x43, 0x1002c9313\nmov     rax, [rbx+160h]                                                ; +0x4a, 0x1002c931a\nsub     rax, r14                                                       ; +0x51, 0x1002c9321\nsar     rax, 3                                                         ; +0x54, 0x1002c9324\nimul    rax, r12                                                       ; +0x58, 0x1002c9328\nadd     r15, 48h ; 'H'                                                 ; +0x5c, 0x1002c932c\ncmp     rax, r13                                                       ; +0x60, 0x1002c9330\njbe     short loc_1002C938D                                            ; +0x63, 0x1002c9333\nmov     esi, [r14+r15+14h]                                             ; +0x65, 0x1002c9335\nmov     rdi, rbx                                                       ; +0x6a, 0x1002c933a\ncall    GJEffectManager__getColorAction                                ; +0x6d, 0x1002c933d\ncmp     dword ptr [r14+r15+34h], 0                                     ; +0x72, 0x1002c9342\njnz     short loc_1002C9310                                            ; +0x78, 0x1002c9348\ncmp     dword ptr [rax+78h], 0                                         ; +0x7a, 0x1002c934a\njnz     short loc_1002C9310                                            ; +0x7e, 0x1002c934e\nadd     r14, r15                                                       ; +0x80, 0x1002c9350\nmov     r12, [rax+90h]                                                 ; +0x83, 0x1002c9353\nlea     rsi, [r12+143h]                                                ; +0x8a, 0x1002c935a\nmov     rdi, rbx                                                       ; +0x92, 0x1002c9362\nmov     rdx, r14                                                       ; +0x95, 0x1002c9365\ncall    GJEffectManager__colorForPulseEffect                           ; +0x98, 0x1002c9368\nmov     [r12+143h], ax                                                 ; +0x9d, 0x1002c936d\nshr     eax, 10h                                                       ; +0xa6, 0x1002c9376\nmov     [r12+145h], al                                                 ; +0xa9, 0x1002c9379\nmov     r12, 8E38E38E38E38E39h                                         ; +0xb1, 0x1002c9381\njmp     short loc_1002C9310                                            ; +0xbb, 0x1002c938b\nadd     rsp, 8                                                         ; +0xbd, 0x1002c938d\npop     rbx                                                            ; +0xc1, 0x1002c9391\npop     r12                                                            ; +0xc2, 0x1002c9392\npop     r13                                                            ; +0xc4, 0x1002c9394\npop     r14                                                            ; +0xc6, 0x1002c9396\npop     r15                                                            ; +0xc8, 0x1002c9398\npop     rbp                                                            ; +0xca, 0x1002c939a\nretn                                                                   ; +0xcb, 0x1002c939b", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}