{"type": "func", "start": 4297440156, "end": 4297440252, "name": "GameObject::setGlowOpacity", "pseudocode": "// \n// GameObject::setGlowOpacity from 0x10025bb9c to 0x10025bbfc (96 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::updateVisibility @ 0x10011cb20\n// > PlayLayer::updateInvisibleBlock @ 0x10011cfb4\n// > GameObject::setOpacity @ 0x10025ba68\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; // x0\n  __int64 v4; // x20\n\n  m_glowSprite = a1->m_glowSprite;\n  if ( m_glowSprite )\n  {\n    v4 = (unsigned int)(int)(float)(a1->m_opacityMod * (float)a2);\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_glowSprite->setOpacity)(m_glowSprite, v4);\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_glowSprite->setChildOpacity)(a1->m_glowSprite, v4);\n  }\n}", "assembly": "; \n; GameObject::setGlowOpacity from 0x10025bb9c to 0x10025bbfc (96 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::updateVisibility @ 0x10011cb20\n; > PlayLayer::updateInvisibleBlock @ 0x10011cfb4\n; > GameObject::setOpacity @ 0x10025ba68\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10025bb9c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10025bba0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10025bba4\nMOV             X19, X0                                                ; +0xc, 0x10025bba8\nLDR             X0, [X0,#0x2F0]                                        ; +0x10, 0x10025bbac\nCBZ             X0, loc_10025BBF0                                      ; +0x14, 0x10025bbb0\nUCVTF           S0, W1                                                 ; +0x18, 0x10025bbb4\nLDR             S1, [X19,#0x434]                                       ; +0x1c, 0x10025bbb8\nFMUL            S0, S1, S0                                             ; +0x20, 0x10025bbbc\nFCVTZS          W20, S0                                                ; +0x24, 0x10025bbc0\nLDR             X8, [X0]                                               ; +0x28, 0x10025bbc4\nLDR             X8, [X8,#0x380]                                        ; +0x2c, 0x10025bbc8\nMOV             X1, X20                                                ; +0x30, 0x10025bbcc\nBLR             X8                                                     ; +0x34, 0x10025bbd0\nLDR             X0, [X19,#0x2F0]                                       ; +0x38, 0x10025bbd4\nLDR             X8, [X0]                                               ; +0x3c, 0x10025bbd8\nLDR             X2, [X8,#0x440]                                        ; +0x40, 0x10025bbdc\nMOV             X1, X20                                                ; +0x44, 0x10025bbe0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x10025bbe4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x10025bbe8\nBR              X2                                                     ; +0x50, 0x10025bbec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10025bbf0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10025bbf4\nRET                                                                    ; +0x5c, 0x10025bbf8", "xrefs": ["PlayLayer::updateVisibility @ 0x10011cb20", "PlayLayer::updateInvisibleBlock @ 0x10011cfb4", "GameObject::setOpacity @ 0x10025ba68"], "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"}