// // cocos2d::CCMenuItemSprite::updateImagesVisibility from 0x18005df40 to 0x18005e01c (220 bytes) // // 4 xrefs: // > @ 0x1800febf0 // > @ 0x1800ff060 // > @ 0x18014cf68 // > @ 0x1801bd294 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:49 +0000 // void __fastcall cocos2d::CCMenuItemSprite::updateImagesVisibility(cocos2d::CCMenuItemSprite *this, __int64 a2) { _QWORD *v2; // rdi __int64 *v3; // rbx _QWORD *v4; // rsi bool v5; // zf __int64 v6; // rcx __int64 v7; // rcx __int64 v8; // rcx v2 = (_QWORD *)((char *)this + 384); v3 = (__int64 *)((char *)this + 392); if ( *((_QWORD *)this + 48) ) { v4 = (_QWORD *)((char *)this + 384); } else { if ( !*v3 ) return; v4 = (_QWORD *)((char *)this + 384); } v5 = *((_BYTE *)this + 345) == 0; v6 = *((_QWORD *)this + 47); if ( !v5 ) { if ( v6 ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, a2); } v7 = *v2; goto LABEL_19; } if ( !*v3 ) { if ( v6 ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, a2); } v7 = *v4; LABEL_19: if ( v7 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 336LL))(v7, 0); v8 = *v3; if ( *v3 ) { a2 = 0; goto LABEL_23; } return; } if ( v6 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 336LL))(v6, 0); v2 = v4; } if ( *v2 ) (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 336LL))(*v2, 0); v8 = *v3; if ( *v3 ) { LOBYTE(a2) = 1; LABEL_23: (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 336LL))(v8, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source