{"type": "func", "start": 4301839696, "end": 4301839816, "name": "GameObject::setAreaOpacity", "pseudocode": "// \n// GameObject::setAreaOpacity from 0x10068dd50 to 0x10068ddc8 (120 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::processAreaFadeGroupAction @ 0x100120f7d\n// > GJBaseGameLayer::processAreaFadeGroupAction @ 0x100121022\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:06 +0000\n// \n\n__int64 __fastcall GameObject::setAreaOpacity(__int64 a1, int a2, float a3, float a4)\n{\n  int v4; // r15d\n  __int64 result; // rax\n\n  if ( *(_DWORD *)(a1 + 1336) != a2 || *(float *)(a1 + 1332) > a4 )\n  {\n    v4 = *(unsigned __int8 *)(a1 + 1328);\n    result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 912LL))(\n               a1,\n               (unsigned __int8)(int)(float)((float)v4 * a3));\n    *(_BYTE *)(a1 + 1328) = v4;\n    *(_DWORD *)(a1 + 1336) = a2;\n    *(float *)(a1 + 1332) = a4;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::setAreaOpacity from 0x10068dd50 to 0x10068ddc8 (120 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::processAreaFadeGroupAction @ 0x100120f7d\n; > GJBaseGameLayer::processAreaFadeGroupAction @ 0x100121022\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:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x10068dd50\nmov     rbp, rsp                                                       ; +0x1, 0x10068dd51\npush    r15                                                            ; +0x4, 0x10068dd54\npush    r14                                                            ; +0x6, 0x10068dd56\npush    rbx                                                            ; +0x8, 0x10068dd58\npush    rax                                                            ; +0x9, 0x10068dd59\nmov     ebx, esi                                                       ; +0xa, 0x10068dd5a\nmov     r14, rdi                                                       ; +0xc, 0x10068dd5c\ncmp     [rdi+538h], esi                                                ; +0xf, 0x10068dd5f\njnz     short loc_10068DD75                                            ; +0x15, 0x10068dd65\nmovss   xmm2, dword ptr [r14+534h]                                     ; +0x17, 0x10068dd67\nucomiss xmm2, xmm1                                                     ; +0x20, 0x10068dd70\njbe     short loc_10068DDBD                                            ; +0x23, 0x10068dd73\nmovzx   r15d, byte ptr [r14+530h]                                      ; +0x25, 0x10068dd75\nxorps   xmm2, xmm2                                                     ; +0x2d, 0x10068dd7d\ncvtsi2ss xmm2, r15d                                                    ; +0x30, 0x10068dd80\nmulss   xmm2, xmm0                                                     ; +0x35, 0x10068dd85\ncvttss2si eax, xmm2                                                    ; +0x39, 0x10068dd89\nmov     rcx, [r14]                                                     ; +0x3d, 0x10068dd8d\nmovzx   esi, al                                                        ; +0x40, 0x10068dd90\nmov     rdi, r14                                                       ; +0x43, 0x10068dd93\nmovss   [rbp+var_1C], xmm1                                             ; +0x46, 0x10068dd96\ncall    qword ptr [rcx+390h]                                           ; +0x4b, 0x10068dd9b\nmov     [r14+530h], r15b                                               ; +0x51, 0x10068dda1\nmov     [r14+538h], ebx                                                ; +0x58, 0x10068dda8\nmovss   xmm0, [rbp+var_1C]                                             ; +0x5f, 0x10068ddaf\nmovss   dword ptr [r14+534h], xmm0                                     ; +0x64, 0x10068ddb4\nadd     rsp, 8                                                         ; +0x6d, 0x10068ddbd\npop     rbx                                                            ; +0x71, 0x10068ddc1\npop     r14                                                            ; +0x72, 0x10068ddc2\npop     r15                                                            ; +0x74, 0x10068ddc4\npop     rbp                                                            ; +0x76, 0x10068ddc6\nretn                                                                   ; +0x77, 0x10068ddc7", "xrefs": ["GJBaseGameLayer::processAreaFadeGroupAction @ 0x100120f7d", "GJBaseGameLayer::processAreaFadeGroupAction @ 0x100121022"], "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"}