{"type": "func", "start": 4297447892, "end": 4297448012, "name": "GameObject::groupOpacityMod", "pseudocode": "// \n// GameObject::groupOpacityMod from 0x10025d9d4 to 0x10025da4c (120 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::opacityForObject @ 0x10011df48\n// > GameObject::opacityModForMode @ 0x100262364\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 __fastcall GameObject::groupOpacityMod(GameObject *a1)\n{\n  __int64 v2; // x20\n  float v3; // s8\n\n  if ( a1->m_opacityGroupCount < 1 )\n    return 1.0;\n  v2 = 0;\n  v3 = 1.0;\n  while ( 1 )\n  {\n    v3 = v3 * GJEffectManager::opacityModForGroup(a1->m_goEffectManager, a1->m_opacityGroups->__elems_[v2]);\n    if ( v3 <= 0.0 )\n      break;\n    if ( ++v2 >= a1->m_opacityGroupCount )\n      return v3;\n  }\n  return 0.0;\n}", "assembly": "; \n; GameObject::groupOpacityMod from 0x10025d9d4 to 0x10025da4c (120 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::opacityForObject @ 0x10011df48\n; > GameObject::opacityModForMode @ 0x100262364\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\nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10025d9d4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10025d9d8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10025d9dc\nADD             X29, SP, #0x20                                         ; +0xc, 0x10025d9e0\nLDRSH           W8, [X0,#0x4B0]                                        ; +0x10, 0x10025d9e4\nCMP             W8, #1                                                 ; +0x14, 0x10025d9e8\nB.LT            loc_10025DA2C                                          ; +0x18, 0x10025d9ec\nMOV             X19, X0                                                ; +0x1c, 0x10025d9f0\nMOV             X20, #0                                                ; +0x20, 0x10025d9f4\nFMOV            S8, #1.0                                               ; +0x24, 0x10025d9f8\nLDR             X0, [X19,#0x500]                                       ; +0x28, 0x10025d9fc\nLDR             X8, [X19,#0x4A8]                                       ; +0x2c, 0x10025da00\nLDRSH           W1, [X8,X20,LSL#1]                                     ; +0x30, 0x10025da04\nBL              GJEffectManager__opacityModForGroup                    ; +0x34, 0x10025da08\nFMUL            S8, S8, S0                                             ; +0x38, 0x10025da0c\nFCMP            S8, #0.0                                               ; +0x3c, 0x10025da10\nB.LS            loc_10025DA34                                          ; +0x40, 0x10025da14\nADD             X20, X20, #1                                           ; +0x44, 0x10025da18\nLDRSH           X8, [X19,#0x4B0]                                       ; +0x48, 0x10025da1c\nCMP             X20, X8                                                ; +0x4c, 0x10025da20\nB.LT            loc_10025D9FC                                          ; +0x50, 0x10025da24\nB               loc_10025DA38                                          ; +0x54, 0x10025da28\nFMOV            S8, #1.0                                               ; +0x58, 0x10025da2c\nB               loc_10025DA38                                          ; +0x5c, 0x10025da30\nFMOV            S8, WZR                                                ; +0x60, 0x10025da34\nFMOV            S0, S8                                                 ; +0x64, 0x10025da38\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x10025da3c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x10025da40\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x70, 0x10025da44\nRET                                                                    ; +0x74, 0x10025da48", "xrefs": ["PlayLayer::opacityForObject @ 0x10011df48", "GameObject::opacityModForMode @ 0x100262364"], "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"}