{"type": "func", "start": 4300982512, "end": 4300982597, "name": "GameObject::setGlowOpacity", "pseudocode": "// \n// GameObject::setGlowOpacity from 0x1005bc8f0 to 0x1005bc945 (85 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::updateVisibility @ 0x1000b7b10\n// > PlayLayer::updateInvisibleBlock @ 0x1000b8023\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\nvoid __fastcall GameObject::setGlowOpacity(GameObject *a1, unsigned __int8 a2)\n{\n  cocos2d::CCSprite *m_glowSprite; // rax\n  __int64 v3; // rbx\n\n  m_glowSprite = a1->m_glowSprite;\n  if ( m_glowSprite )\n  {\n    v3 = (unsigned __int8)(int)(float)((float)a2 * a1->m_opacityMod);\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_glowSprite->setOpacity)(m_glowSprite, v3);\n    ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_glowSprite->setChildOpacity)(\n      a1->m_glowSprite,\n      (unsigned int)v3);\n  }\n}", "assembly": "; \n; GameObject::setGlowOpacity from 0x1005bc8f0 to 0x1005bc945 (85 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::updateVisibility @ 0x1000b7b10\n; > PlayLayer::updateInvisibleBlock @ 0x1000b8023\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\nmov     rax, [rdi+2F0h]                                                ; +0x0, 0x1005bc8f0\ntest    rax, rax                                                       ; +0x7, 0x1005bc8f7\njz      short locret_1005BC944                                         ; +0xa, 0x1005bc8fa\npush    rbp                                                            ; +0xc, 0x1005bc8fc\nmov     rbp, rsp                                                       ; +0xd, 0x1005bc8fd\npush    r14                                                            ; +0x10, 0x1005bc900\npush    rbx                                                            ; +0x12, 0x1005bc902\nmovzx   ecx, sil                                                       ; +0x13, 0x1005bc903\ncvtsi2ss xmm0, ecx                                                     ; +0x17, 0x1005bc907\nmulss   xmm0, dword ptr [rdi+434h]                                     ; +0x1b, 0x1005bc90b\ncvttss2si ecx, xmm0                                                    ; +0x23, 0x1005bc913\nmov     rdx, [rax]                                                     ; +0x27, 0x1005bc917\nmovzx   ebx, cl                                                        ; +0x2a, 0x1005bc91a\nmov     r14, rdi                                                       ; +0x2d, 0x1005bc91d\nmov     rdi, rax                                                       ; +0x30, 0x1005bc920\nmov     esi, ebx                                                       ; +0x33, 0x1005bc923\ncall    qword ptr [rdx+380h]                                           ; +0x35, 0x1005bc925\nmov     rdi, [r14+2F0h]                                                ; +0x3b, 0x1005bc92b\nmov     rax, [rdi]                                                     ; +0x42, 0x1005bc932\nmov     rax, [rax+440h]                                                ; +0x45, 0x1005bc935\nmov     esi, ebx                                                       ; +0x4c, 0x1005bc93c\npop     rbx                                                            ; +0x4e, 0x1005bc93e\npop     r14                                                            ; +0x4f, 0x1005bc93f\npop     rbp                                                            ; +0x51, 0x1005bc941\njmp     rax                                                            ; +0x52, 0x1005bc942\nretn                                                                   ; +0x54, 0x1005bc944", "xrefs": ["PlayLayer::updateVisibility @ 0x1000b7b10", "PlayLayer::updateInvisibleBlock @ 0x1000b8023"], "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"}