// // cocos2d::CCMenuItemSprite::updateImagesVisibility from 0xd655f4 to 0xd6574c (344 bytes) // // 8 xrefs: // > @ 0xe3638 // > @ 0x1416c10 // > @ 0x141dcc0 // > @ 0x1431520 // > @ 0x1488170 // > @ 0x14e1870 // > @ 0x1525e40 // > @ 0x1526340 // // This function is hookable on this platform (idp: arm, 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 13:07:53 +0000 // __int64 __fastcall cocos2d::CCMenuItemSprite::updateImagesVisibility(__int64 this) { __int64 v1; // x19 __int64 v2; // x1 __int64 v3; // x0 __int64 v4; // x1 __int64 v5; // x0 v1 = this; v2 = *(_QWORD *)(this + 384); if ( !v2 ) { v4 = *(_QWORD *)(this + 392); if ( !v4 ) return this; if ( !*(_BYTE *)(this + 339) ) { v3 = *(_QWORD *)(this + 376); if ( !v3 ) { this = v4; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)this + 344LL))(this, 1); } goto LABEL_5; } this = *(_QWORD *)(this + 376); if ( !this ) goto LABEL_14; LABEL_11: this = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)this + 344LL))(this, 1); v2 = *(_QWORD *)(v1 + 384); if ( !v2 ) { LABEL_13: v4 = *(_QWORD *)(v1 + 392); LABEL_14: if ( v4 ) return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0); return this; } LABEL_12: this = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0); goto LABEL_13; } if ( *(_BYTE *)(this + 339) ) { this = *(_QWORD *)(this + 376); if ( !this ) goto LABEL_12; goto LABEL_11; } if ( *(_QWORD *)(this + 392) ) { v3 = *(_QWORD *)(this + 376); if ( !v3 ) { LABEL_6: (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0); LABEL_7: this = *(_QWORD *)(v1 + 392); if ( !this ) return this; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)this + 344LL))(this, 1); } LABEL_5: (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0); v2 = *(_QWORD *)(v1 + 384); if ( !v2 ) goto LABEL_7; goto LABEL_6; } v5 = *(_QWORD *)(this + 376); if ( !v5 || ((*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 344LL))(v5, 1), (v2 = *(_QWORD *)(v1 + 384)) != 0) ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0); } this = *(_QWORD *)(v1 + 392); if ( this ) return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)this + 344LL))(this, 0); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source