{"type": "func", "start": 4296208352, "end": 4296208490, "name": "GJBaseGameLayer::opacityForObject", "pseudocode": "// \n// GJBaseGameLayer::opacityForObject from 0x10012efe0 to 0x10012f06a (138 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100ac3dc8\n// > <???> @ 0x100ac5078\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:24:46 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::opacityForObject(__int64 a1, __int64 a2)\n{\n  float result; // xmm0_4\n  unsigned int v3; // r15d\n  __int64 v4; // r12\n  unsigned int GroupID; // eax\n\n  if ( *(__int16 *)(a2 + 1168) <= 0 )\n    return 1.0;\n  result = 1.0;\n  v3 = 0;\n  do\n  {\n    v4 = *(_QWORD *)(a1 + 2152);\n    GroupID = GameObject::getGroupID(a2, v3);\n    result = result * GJEffectManager::opacityModForGroup(v4, GroupID);\n    ++v3;\n  }\n  while ( (int)v3 < *(__int16 *)(a2 + 1168) );\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::opacityForObject from 0x10012efe0 to 0x10012f06a (138 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100ac3dc8\n; > <???> @ 0x100ac5078\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:24:46 +0000\n; \npush    rbp                                                            ; +0x0, 0x10012efe0\nmov     rbp, rsp                                                       ; +0x1, 0x10012efe1\npush    r15                                                            ; +0x4, 0x10012efe4\npush    r14                                                            ; +0x6, 0x10012efe6\npush    r12                                                            ; +0x8, 0x10012efe8\npush    rbx                                                            ; +0xa, 0x10012efea\nsub     rsp, 10h                                                       ; +0xb, 0x10012efeb\ncmp     word ptr [rsi+490h], 0                                         ; +0xf, 0x10012efef\njle     short loc_10012F055                                            ; +0x17, 0x10012eff7\nmov     rbx, rsi                                                       ; +0x19, 0x10012eff9\nmov     r14, rdi                                                       ; +0x1c, 0x10012effc\nmovss   xmm0, cs:alpha                                                 ; +0x1f, 0x10012efff\nxor     r15d, r15d                                                     ; +0x27, 0x10012f007\nnop     word ptr [rax+rax+00h]                                         ; +0x2a, 0x10012f00a\nmovss   [rbp+var_24], xmm0                                             ; +0x30, 0x10012f010\nmov     r12, [r14+868h]                                                ; +0x35, 0x10012f015\nmov     rdi, rbx                                                       ; +0x3c, 0x10012f01c\nmov     esi, r15d                                                      ; +0x3f, 0x10012f01f\ncall    GameObject__getGroupID                                         ; +0x42, 0x10012f022\nmov     rdi, r12                                                       ; +0x47, 0x10012f027\nmov     esi, eax                                                       ; +0x4a, 0x10012f02a\ncall    GJEffectManager__opacityModForGroup                            ; +0x4c, 0x10012f02c\nmovss   xmm1, [rbp+var_24]                                             ; +0x51, 0x10012f031\nmulss   xmm1, xmm0                                                     ; +0x56, 0x10012f036\nmovss   [rbp+var_24], xmm1                                             ; +0x5a, 0x10012f03a\nmovss   xmm0, [rbp+var_24]                                             ; +0x5f, 0x10012f03f\ninc     r15d                                                           ; +0x64, 0x10012f044\nmovsx   eax, word ptr [rbx+490h]                                       ; +0x67, 0x10012f047\ncmp     r15d, eax                                                      ; +0x6e, 0x10012f04e\njl      short loc_10012F010                                            ; +0x71, 0x10012f051\njmp     short loc_10012F05D                                            ; +0x73, 0x10012f053\nmovss   xmm0, cs:alpha                                                 ; +0x75, 0x10012f055\nadd     rsp, 10h                                                       ; +0x7d, 0x10012f05d\npop     rbx                                                            ; +0x81, 0x10012f061\npop     r12                                                            ; +0x82, 0x10012f062\npop     r14                                                            ; +0x84, 0x10012f064\npop     r15                                                            ; +0x86, 0x10012f066\npop     rbp                                                            ; +0x88, 0x10012f068\nretn                                                                   ; +0x89, 0x10012f069", "xrefs": ["<???> @ 0x100ac3dc8", "<???> @ 0x100ac5078"], "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"}