{"type": "func", "start": 4298091480, "end": 4298091600, "name": "GameObject::groupOpacityMod", "pseudocode": "// \n// GameObject::groupOpacityMod from 0x1002fabd8 to 0x1002fac50 (120 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::opacityForObject @ 0x100146fa0\n// > GameObject::opacityModForMode @ 0x1002ff620\n// \n// This function is hookable on this platform (idp: arm, 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:03:02 +0000\n// \n\nfloat __fastcall GameObject::groupOpacityMod(__int64 a1)\n{\n  __int64 v2; // x20\n  float v3; // s8\n\n  if ( *(__int16 *)(a1 + 1200) < 1 )\n    return 1.0;\n  v2 = 0;\n  v3 = 1.0;\n  while ( 1 )\n  {\n    v3 = v3 * sub_1000146B0(*(_QWORD *)(a1 + 1280), *(__int16 *)(*(_QWORD *)(a1 + 1192) + 2 * v2));\n    if ( v3 <= 0.0 )\n      break;\n    if ( ++v2 >= *(__int16 *)(a1 + 1200) )\n      return v3;\n  }\n  return 0.0;\n}", "assembly": "; \n; GameObject::groupOpacityMod from 0x1002fabd8 to 0x1002fac50 (120 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::opacityForObject @ 0x100146fa0\n; > GameObject::opacityModForMode @ 0x1002ff620\n; \n; This function is hookable on this platform (idp: arm, 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:03:02 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1002fabd8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002fabdc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002fabe0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002fabe4\nLDRSH           W8, [X0,#0x4B0]                                        ; +0x10, 0x1002fabe8\nCMP             W8, #1                                                 ; +0x14, 0x1002fabec\nB.LT            loc_1002FAC30                                          ; +0x18, 0x1002fabf0\nMOV             X19, X0                                                ; +0x1c, 0x1002fabf4\nMOV             X20, #0                                                ; +0x20, 0x1002fabf8\nFMOV            S8, #1.0                                               ; +0x24, 0x1002fabfc\nLDR             X0, [X19,#0x500]                                       ; +0x28, 0x1002fac00\nLDR             X8, [X19,#0x4A8]                                       ; +0x2c, 0x1002fac04\nLDRSH           W1, [X8,X20,LSL#1]                                     ; +0x30, 0x1002fac08\nBL              sub_1000146B0                                          ; +0x34, 0x1002fac0c\nFMUL            S8, S8, S0                                             ; +0x38, 0x1002fac10\nFCMP            S8, #0.0                                               ; +0x3c, 0x1002fac14\nB.LS            loc_1002FAC38                                          ; +0x40, 0x1002fac18\nADD             X20, X20, #1                                           ; +0x44, 0x1002fac1c\nLDRSH           X8, [X19,#0x4B0]                                       ; +0x48, 0x1002fac20\nCMP             X20, X8                                                ; +0x4c, 0x1002fac24\nB.LT            loc_1002FAC00                                          ; +0x50, 0x1002fac28\nB               loc_1002FAC3C                                          ; +0x54, 0x1002fac2c\nFMOV            S8, #1.0                                               ; +0x58, 0x1002fac30\nB               loc_1002FAC3C                                          ; +0x5c, 0x1002fac34\nFMOV            S8, WZR                                                ; +0x60, 0x1002fac38\nFMOV            S0, S8                                                 ; +0x64, 0x1002fac3c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x1002fac40\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1002fac44\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x70, 0x1002fac48\nRET                                                                    ; +0x74, 0x1002fac4c", "xrefs": ["PlayLayer::opacityForObject @ 0x100146fa0", "GameObject::opacityModForMode @ 0x1002ff620"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}