{"type": "func", "start": 5372293552, "end": 5372293824, "name": "GJEffectManager::runOpacityActionOnGroup", "pseudocode": "// \n// GJEffectManager::runOpacityActionOnGroup from 0x14036b1b0 to 0x14036b2c0 (272 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x1403fbc5c\n// > EffectGameObject::triggerObject @ 0x1406481da\n// > <???> @ 0x1409218c0\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 11:30:57 +0000\n// \n\n__int64 __fastcall GJEffectManager::runOpacityActionOnGroup(__int64 a1, __int64 a2, float a3, float a4, int a5, int a6)\n{\n  float v7; // xmm0_4\n  _QWORD *v8; // rbx\n  _BYTE v10[16]; // [rsp+20h] [rbp-78h] BYREF\n  _DWORD v11[3]; // [rsp+30h] [rbp-68h] BYREF\n  __int16 v12; // [rsp+3Ch] [rbp-5Ch]\n  int v13; // [rsp+40h] [rbp-58h]\n  int v14; // [rsp+44h] [rbp-54h]\n  float v15; // [rsp+48h] [rbp-50h]\n  int v16; // [rsp+4Ch] [rbp-4Ch]\n  int v17; // [rsp+50h] [rbp-48h]\n  __int64 v18; // [rsp+54h] [rbp-44h]\n  int v19; // [rsp+A8h] [rbp+10h] BYREF\n\n  if ( (int)a2 < 0 )\n    a2 = 0;\n  if ( (int)a2 > 9999 )\n    a2 = 9999;\n  v19 = a2;\n  v7 = GJEffectManager::opacityModForGroup(a1, a2);\n  v8 = (_QWORD *)(a1 + 432);\n  sub_140355080(v8, (unsigned __int8 *)&v19);\n  v14 = v19;\n  v16 = a5;\n  v17 = a6;\n  v12 = 0;\n  v13 = 0;\n  *(float *)v11 = a3;\n  *(float *)&v11[1] = v7;\n  *(float *)&v11[2] = a4;\n  v15 = v7;\n  v18 = 0;\n  if ( a3 <= 0.0 )\n  {\n    v15 = a4;\n    LOBYTE(v12) = 1;\n  }\n  sub_14036F290(v8, v10, &v19, v11);\n  return *(_QWORD *)sub_140371C00(v8, v10, &v19) + 20LL;\n}", "assembly": "; \n; GJEffectManager::runOpacityActionOnGroup from 0x14036b1b0 to 0x14036b2c0 (272 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x1403fbc5c\n; > EffectGameObject::triggerObject @ 0x1406481da\n; > <???> @ 0x1409218c0\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 11:30:57 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x14036b1b0\npush    rbx                                                            ; +0x3, 0x14036b1b3\nsub     rsp, 90h                                                       ; +0x4, 0x14036b1b4\nxor     eax, eax                                                       ; +0xb, 0x14036b1bb\nmovaps  xmmword ptr [r11-18h], xmm6                                    ; +0xd, 0x14036b1bd\ntest    edx, edx                                                       ; +0x12, 0x14036b1c2\nmovaps  [rsp+98h+var_28], xmm7                                         ; +0x14, 0x14036b1c4\nmovaps  xmmword ptr [r11-38h], xmm8                                    ; +0x19, 0x14036b1c9\nmovaps  xmm7, xmm2                                                     ; +0x1e, 0x14036b1ce\ncmovs   edx, eax                                                       ; +0x21, 0x14036b1d1\nmovaps  xmm8, xmm3                                                     ; +0x24, 0x14036b1d4\nmov     eax, 270Fh                                                     ; +0x28, 0x14036b1d8\nmov     rbx, rcx                                                       ; +0x2d, 0x14036b1dd\ncmp     edx, eax                                                       ; +0x30, 0x14036b1e0\ncmovg   edx, eax                                                       ; +0x32, 0x14036b1e2\nmov     [r11+10h], edx                                                 ; +0x35, 0x14036b1e5\ncall    GJEffectManager__opacityModForGroup                            ; +0x39, 0x14036b1e9\nadd     rbx, 1B0h                                                      ; +0x3e, 0x14036b1ee\nlea     rdx, [rsp+98h+arg_8]                                           ; +0x45, 0x14036b1f5\nmov     rcx, rbx                                                       ; +0x4d, 0x14036b1fd\nmovaps  xmm6, xmm0                                                     ; +0x50, 0x14036b200\ncall    sub_140355080                                                  ; +0x53, 0x14036b203\nmov     eax, [rsp+98h+arg_8]                                           ; +0x58, 0x14036b208\nxorps   xmm1, xmm1                                                     ; +0x5f, 0x14036b20f\ncomiss  xmm1, xmm7                                                     ; +0x62, 0x14036b212\nmov     [rsp+98h+var_54], eax                                          ; +0x65, 0x14036b215\nmov     eax, [rsp+98h+arg_20]                                          ; +0x69, 0x14036b219\nmov     [rsp+98h+var_4C], eax                                          ; +0x70, 0x14036b220\nmov     eax, [rsp+98h+arg_28]                                          ; +0x74, 0x14036b224\nmov     [rsp+98h+var_48], eax                                          ; +0x7b, 0x14036b22b\nmov     [rsp+98h+var_5C], 0                                            ; +0x7f, 0x14036b22f\nmov     [rsp+98h+var_58], 0                                            ; +0x86, 0x14036b236\nmovss   [rsp+98h+var_68], xmm7                                         ; +0x8e, 0x14036b23e\nmovss   [rsp+98h+var_64], xmm6                                         ; +0x94, 0x14036b244\nmovss   [rsp+98h+var_60], xmm8                                         ; +0x9a, 0x14036b24a\nmovss   [rsp+98h+var_50], xmm6                                         ; +0xa1, 0x14036b251\nmov     [rsp+98h+var_44], 0                                            ; +0xa7, 0x14036b257\njb      short loc_14036B26E                                            ; +0xb0, 0x14036b260\nmovss   [rsp+98h+var_50], xmm8                                         ; +0xb2, 0x14036b262\nmov     byte ptr [rsp+98h+var_5C], 1                                   ; +0xb9, 0x14036b269\nlea     r9, [rsp+98h+var_68]                                           ; +0xbe, 0x14036b26e\nmov     rcx, rbx                                                       ; +0xc3, 0x14036b273\nlea     r8, [rsp+98h+arg_8]                                            ; +0xc6, 0x14036b276\nlea     rdx, [rsp+98h+var_78]                                          ; +0xce, 0x14036b27e\ncall    sub_14036F290                                                  ; +0xd3, 0x14036b283\nlea     r8, [rsp+98h+arg_8]                                            ; +0xd8, 0x14036b288\nmov     rcx, rbx                                                       ; +0xe0, 0x14036b290\nlea     rdx, [rsp+98h+var_78]                                          ; +0xe3, 0x14036b293\ncall    sub_140371C00                                                  ; +0xe8, 0x14036b298\nmovaps  xmm6, [rsp+98h+var_18]                                         ; +0xed, 0x14036b29d\nmovaps  xmm7, [rsp+98h+var_28]                                         ; +0xf5, 0x14036b2a5\nmovaps  xmm8, [rsp+98h+var_38]                                         ; +0xfa, 0x14036b2aa\nmov     rax, [rax]                                                     ; +0x100, 0x14036b2b0\nadd     rax, 14h                                                       ; +0x103, 0x14036b2b3\nadd     rsp, 90h                                                       ; +0x107, 0x14036b2b7\npop     rbx                                                            ; +0x10e, 0x14036b2be\nretn                                                                   ; +0x10f, 0x14036b2bf", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x1403fbc5c", "EffectGameObject::triggerObject @ 0x1406481da", "<???> @ 0x1409218c0"], "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"}