{"type": "func", "start": 4297448964, "end": 4297449068, "name": "GJChestSprite::setOpacity", "pseudocode": "// \n// GJChestSprite::setOpacity from 0x10025de04 to 0x10025de6c (104 bytes)\n// \n// 2 xrefs:\n// > sub_10025DE6C @ 0x10025de70\n// > <???> @ 0x1009108d0\n// \n// This function is hookable on this platform (idp: arm, 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 11:01:37 +0000\n// \n\n__int64 __fastcall GJChestSprite::setOpacity(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x20\n  __int64 v6; // x0\n\n  cocos2d::CCSprite::setOpacity(a1);\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1);\n  if ( result )\n  {\n    v5 = result;\n    result = sub_1002E757C(result);\n    if ( (_DWORD)result )\n    {\n      v6 = sub_1002E75A0(v5, 0);\n      return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJChestSprite::setOpacity from 0x10025de04 to 0x10025de6c (104 bytes)\n; \n; 2 xrefs:\n; > sub_10025DE6C @ 0x10025de70\n; > <???> @ 0x1009108d0\n; \n; This function is hookable on this platform (idp: arm, 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 11:01:37 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10025de04\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10025de08\nADD             X29, SP, #0x10                                         ; +0x8, 0x10025de0c\nMOV             X19, X1                                                ; +0xc, 0x10025de10\nMOV             X20, X0                                                ; +0x10, 0x10025de14\nBL              cocos2d__CCSprite__setOpacity                          ; +0x14, 0x10025de18\nLDR             X8, [X20]                                              ; +0x18, 0x10025de1c\nLDR             X8, [X8,#0x1E8]                                        ; +0x1c, 0x10025de20\nMOV             X0, X20                                                ; +0x20, 0x10025de24\nBLR             X8                                                     ; +0x24, 0x10025de28\nCBZ             X0, loc_10025DE60                                      ; +0x28, 0x10025de2c\nMOV             X20, X0                                                ; +0x2c, 0x10025de30\nBL              sub_1002E757C                                          ; +0x30, 0x10025de34\nCBZ             W0, loc_10025DE60                                      ; +0x34, 0x10025de38\nMOV             X0, X20                                                ; +0x38, 0x10025de3c\nMOV             W1, #0                                                 ; +0x3c, 0x10025de40\nBL              sub_1002E75A0                                          ; +0x40, 0x10025de44\nLDR             X8, [X0]                                               ; +0x44, 0x10025de48\nLDR             X2, [X8,#0x390]                                        ; +0x48, 0x10025de4c\nMOV             X1, X19                                                ; +0x4c, 0x10025de50\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x10025de54\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x10025de58\nBR              X2                                                     ; +0x58, 0x10025de5c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x10025de60\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10025de64\nRET                                                                    ; +0x64, 0x10025de68", "xrefs": ["sub_10025DE6C @ 0x10025de70", "<???> @ 0x1009108d0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}