{"type": "func", "start": 5370399920, "end": 5370400045, "name": "GameObject::groupOpacityMod", "pseudocode": "// \n// GameObject::groupOpacityMod from 0x14019ccb0 to 0x14019cd2d (125 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::updateVisibility @ 0x1403af8a5\n// > PlayLayer::updateVisibility @ 0x1403af9f9\n// > PlayLayer::updateVisibility @ 0x1403afb93\n// > PlayLayer::updateVisibility @ 0x1403afc22\n// > PlayLayer::opacityForObject @ 0x1403b02e3\n// > <???> @ 0x1406cbe38\n// > <???> @ 0x1406cbe44\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\nfloat GameObject::groupOpacityMod(GameObject *a1)\n{\n  __int64 v1; // rbx\n  float v2; // xmm1_4\n  GJEffectManager *m_goEffectManager; // rbp\n  __int64 m_opacityGroupCount; // rsi\n  std::array<short, 10> *i; // rdi\n\n  v1 = 0;\n  v2 = 1.0;\n  if ( a1->m_opacityGroupCount <= 0 )\n    return v2;\n  m_goEffectManager = a1->m_goEffectManager;\n  m_opacityGroupCount = a1->m_opacityGroupCount;\n  for ( i = a1->m_opacityGroups; ; i = (std::array<short, 10> *)((char *)i + 2) )\n  {\n    v2 = v2 * GJEffectManager::opacityModForGroup(m_goEffectManager, i->_Elems[0]);\n    if ( v2 <= 0.0 )\n      break;\n    if ( ++v1 >= m_opacityGroupCount )\n      return v2;\n  }\n  return 0.0;\n}", "assembly": "; \n; GameObject::groupOpacityMod from 0x14019ccb0 to 0x14019cd2d (125 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::updateVisibility @ 0x1403af8a5\n; > PlayLayer::updateVisibility @ 0x1403af9f9\n; > PlayLayer::updateVisibility @ 0x1403afb93\n; > PlayLayer::updateVisibility @ 0x1403afc22\n; > PlayLayer::opacityForObject @ 0x1403b02e3\n; > <???> @ 0x1406cbe38\n; > <???> @ 0x1406cbe44\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14019ccb0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14019ccb5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14019ccba\npush    rdi                                                            ; +0xf, 0x14019ccbf\nsub     rsp, 20h                                                       ; +0x10, 0x14019ccc0\nmovsx   rax, word ptr [rcx+4B8h]                                       ; +0x14, 0x14019ccc4\nxor     ebx, ebx                                                       ; +0x1c, 0x14019cccc\nmovss   xmm1, cs:flt_140622C24                                         ; +0x1e, 0x14019ccce\ncmp     bx, ax                                                         ; +0x26, 0x14019ccd6\njge     short loc_14019CD10                                            ; +0x29, 0x14019ccd9\nmov     rbp, [rcx+508h]                                                ; +0x2b, 0x14019ccdb\nmov     rsi, rax                                                       ; +0x32, 0x14019cce2\nmov     rdi, [rcx+4B0h]                                                ; +0x35, 0x14019cce5\nxorps   xmm2, xmm2                                                     ; +0x3c, 0x14019ccec\nnop                                                                    ; +0x3f, 0x14019ccef\nmovsx   edx, word ptr [rdi]                                            ; +0x40, 0x14019ccf0\nmov     rcx, rbp                                                       ; +0x43, 0x14019ccf3\ncall    GJEffectManager__opacityModForGroup                            ; +0x46, 0x14019ccf6\nmulss   xmm1, xmm0                                                     ; +0x4b, 0x14019ccfb\ncomiss  xmm2, xmm1                                                     ; +0x4f, 0x14019ccff\njnb     short loc_14019CD28                                            ; +0x52, 0x14019cd02\ninc     rbx                                                            ; +0x54, 0x14019cd04\nadd     rdi, 2                                                         ; +0x57, 0x14019cd07\ncmp     rbx, rsi                                                       ; +0x5b, 0x14019cd0b\njl      short loc_14019CCF0                                            ; +0x5e, 0x14019cd0e\nmovaps  xmm0, xmm1                                                     ; +0x60, 0x14019cd10\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x63, 0x14019cd13\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x68, 0x14019cd18\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6d, 0x14019cd1d\nadd     rsp, 20h                                                       ; +0x72, 0x14019cd22\npop     rdi                                                            ; +0x76, 0x14019cd26\nretn                                                                   ; +0x77, 0x14019cd27\nmovaps  xmm0, xmm2                                                     ; +0x78, 0x14019cd28\njmp     short loc_14019CD13                                            ; +0x7b, 0x14019cd2b", "xrefs": ["PlayLayer::updateVisibility @ 0x1403af8a5", "PlayLayer::updateVisibility @ 0x1403af9f9", "PlayLayer::updateVisibility @ 0x1403afb93", "PlayLayer::updateVisibility @ 0x1403afc22", "PlayLayer::opacityForObject @ 0x1403b02e3", "<???> @ 0x1406cbe38", "<???> @ 0x1406cbe44"], "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"}