{"type": "func", "start": 4301898800, "end": 4301899003, "name": "GameObject::updateSecondaryOpacity", "pseudocode": "// \n// GameObject::updateSecondaryOpacity from 0x10069c430 to 0x10069c4fb (203 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:35:16 +0000\n// \n\n__int64 __fastcall GameObject::updateSecondaryOpacity(__int64 a1)\n{\n  int v1; // eax\n  float v2; // xmm0_4\n  float v3; // xmm0_4\n  __int64 v4; // r14\n  float v5; // xmm1_4\n  __int64 result; // rax\n  float v7; // [rsp+Ch] [rbp-14h]\n\n  if ( *(int *)(a1 + 660) > 0 && (v1 = (int)*(float *)(*(_QWORD *)(a1 + 1272) + 316LL), (unsigned __int8)v1 < 0xFAu) )\n  {\n    v2 = (float)(unsigned __int8)v1 * 0.0040000002;\n    if ( *(__int16 *)(a1 + 1200) <= 0 )\n      goto LABEL_10;\n  }\n  else\n  {\n    v2 = 1.0;\n    if ( *(__int16 *)(a1 + 1200) <= 0 )\n      goto LABEL_10;\n  }\n  v7 = v2;\n  v3 = 1.0;\n  v4 = 0;\n  do\n  {\n    v3 = GJEffectManager::opacityModForGroup(*(_QWORD *)(a1 + 1280), *(__int16 *)(*(_QWORD *)(a1 + 1192) + 2 * v4)) * v3;\n    v5 = 0.0;\n    if ( v3 <= 0.0 )\n      break;\n    ++v4;\n    v5 = v3;\n  }\n  while ( v4 < *(__int16 *)(a1 + 1200) );\n  v2 = v7 * v5;\nLABEL_10:\n  result = *(_QWORD *)(a1 + 1104);\n  *(float *)(result + 8) = v2;\n  return result;\n}", "assembly": "; \n; GameObject::updateSecondaryOpacity from 0x10069c430 to 0x10069c4fb (203 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:35:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069c430\nmov     rbp, rsp                                                       ; +0x1, 0x10069c431\npush    r14                                                            ; +0x4, 0x10069c434\npush    rbx                                                            ; +0x6, 0x10069c436\nsub     rsp, 10h                                                       ; +0x7, 0x10069c437\nmov     rbx, rdi                                                       ; +0xb, 0x10069c43b\ncmp     dword ptr [rdi+294h], 0                                        ; +0xe, 0x10069c43e\njle     short loc_10069C45A                                            ; +0x15, 0x10069c445\nmov     rax, [rbx+4F8h]                                                ; +0x17, 0x10069c447\ncvttss2si eax, dword ptr [rax+13Ch]                                    ; +0x1e, 0x10069c44e\ncmp     al, 0FAh                                                       ; +0x26, 0x10069c456\njb      short loc_10069C46E                                            ; +0x28, 0x10069c458\nmovss   xmm0, cs:alpha                                                 ; +0x2a, 0x10069c45a\ncmp     word ptr [rbx+4B0h], 0                                         ; +0x32, 0x10069c462\njg      short loc_10069C487                                            ; +0x3a, 0x10069c46a\njmp     short loc_10069C4E6                                            ; +0x3c, 0x10069c46c\nmovzx   eax, al                                                        ; +0x3e, 0x10069c46e\ncvtsi2ss xmm0, eax                                                     ; +0x41, 0x10069c471\nmulss   xmm0, cs:dword_100A05CE0                                       ; +0x45, 0x10069c475\ncmp     word ptr [rbx+4B0h], 0                                         ; +0x4d, 0x10069c47d\njle     short loc_10069C4E6                                            ; +0x55, 0x10069c485\nmovss   [rbp+var_14], xmm0                                             ; +0x57, 0x10069c487\nmovss   xmm0, cs:alpha                                                 ; +0x5c, 0x10069c48c\nxor     r14d, r14d                                                     ; +0x64, 0x10069c494\nnop     word ptr [rax+rax+00000000h]                                   ; +0x67, 0x10069c497\nmovss   [rbp+var_18], xmm0                                             ; +0x70, 0x10069c4a0\nmov     rax, [rbx+4A8h]                                                ; +0x75, 0x10069c4a5\nmov     rdi, [rbx+500h]                                                ; +0x7c, 0x10069c4ac\nmovsx   esi, word ptr [rax+r14*2]                                      ; +0x83, 0x10069c4b3\ncall    GJEffectManager__opacityModForGroup                            ; +0x88, 0x10069c4b8\nmulss   xmm0, [rbp+var_18]                                             ; +0x8d, 0x10069c4bd\nxorps   xmm1, xmm1                                                     ; +0x92, 0x10069c4c2\nucomiss xmm1, xmm0                                                     ; +0x95, 0x10069c4c5\njnb     short loc_10069C4DD                                            ; +0x98, 0x10069c4c8\ninc     r14                                                            ; +0x9a, 0x10069c4ca\nmovsx   rax, word ptr [rbx+4B0h]                                       ; +0x9d, 0x10069c4cd\nmovaps  xmm1, xmm0                                                     ; +0xa5, 0x10069c4d5\ncmp     r14, rax                                                       ; +0xa8, 0x10069c4d8\njl      short loc_10069C4A0                                            ; +0xab, 0x10069c4db\nmovss   xmm0, [rbp+var_14]                                             ; +0xad, 0x10069c4dd\nmulss   xmm0, xmm1                                                     ; +0xb2, 0x10069c4e2\nmov     rax, [rbx+450h]                                                ; +0xb6, 0x10069c4e6\nmovss   dword ptr [rax+8], xmm0                                        ; +0xbd, 0x10069c4ed\nadd     rsp, 10h                                                       ; +0xc2, 0x10069c4f2\npop     rbx                                                            ; +0xc6, 0x10069c4f6\npop     r14                                                            ; +0xc7, 0x10069c4f7\npop     rbp                                                            ; +0xc9, 0x10069c4f9\nretn                                                                   ; +0xca, 0x10069c4fa", "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"}