{"type": "func", "start": 9676080, "end": 9676180, "name": "GJChestSprite::setOpacity", "pseudocode": "// \n// GJChestSprite::setOpacity from 0x93a530 to 0x93a594 (100 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'GJChestSprite::setOpacity @ 0x93a598\n// > <???> @ 0x7aac0\n// > <???> @ 0x11b2700\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 GJChestSprite::setOpacity(GJChestSprite *a1, unsigned __int8 a2)\n{\n  unsigned int v2; // w20\n  cocos2d::CCArray *v4; // x0\n  cocos2d::CCArray *v5; // x19\n  __int64 v6; // x0\n\n  v2 = a2;\n  cocos2d::CCSprite::setOpacity(a1, a2);\n  v4 = a1->getChildren(a1);\n  v5 = v4;\n  if ( v4 )\n  {\n    if ( (unsigned int)cocos2d::CCArray::count(v4) )\n    {\n      v6 = cocos2d::CCArray::objectAtIndex(v5, 0);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, v2);\n    }\n  }\n}", "assembly": "; \n; GJChestSprite::setOpacity from 0x93a530 to 0x93a594 (100 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'GJChestSprite::setOpacity @ 0x93a598\n; > <???> @ 0x7aac0\n; > <???> @ 0x11b2700\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x93a530\nMOV             X29, SP                                                ; +0x4, 0x93a534\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x93a538\nUXTB            W20, W1                                                ; +0xc, 0x93a53c\nMOV             X19, X0                                                ; +0x10, 0x93a540\nMOV             W1, W20; unsigned __int8                               ; +0x14, 0x93a544\nBL              _ZN7cocos2d8CCSprite10setOpacityEh; cocos2d::CCSprite::setOpacity(uchar) ; +0x18, 0x93a548\nLDR             X1, [X19]                                              ; +0x1c, 0x93a54c\nMOV             X0, X19                                                ; +0x20, 0x93a550\nLDR             X1, [X1,#0x1D8]                                        ; +0x24, 0x93a554\nBLR             X1                                                     ; +0x28, 0x93a558\nMOV             X19, X0                                                ; +0x2c, 0x93a55c\nCBZ             X0, loc_93A588                                         ; +0x30, 0x93a560\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x34, 0x93a564\nCBZ             W0, loc_93A588                                         ; +0x38, 0x93a568\nMOV             W1, #0; unsigned int                                   ; +0x3c, 0x93a56c\nMOV             X0, X19; this                                          ; +0x40, 0x93a570\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x93a574\nLDR             X2, [X0]                                               ; +0x48, 0x93a578\nMOV             W1, W20                                                ; +0x4c, 0x93a57c\nLDR             X2, [X2,#0x380]                                        ; +0x50, 0x93a580\nBLR             X2                                                     ; +0x54, 0x93a584\nLDP             X19, X20, [SP,#var_s10]                                ; +0x58, 0x93a588\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x5c, 0x93a58c\nRET                                                                    ; +0x60, 0x93a590", "xrefs": ["`non-virtual thunk to'GJChestSprite::setOpacity @ 0x93a598", "<???> @ 0x7aac0", "<???> @ 0x11b2700"], "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"}