// // cocos2d::CCMenuItemSprite::selected from 0x100055820 to 0x1000558ac (140 bytes) // // 2 xrefs: // > CCMenuItemSpriteExtra::selected @ 0x1002b0464 // > @ 0x10093ef08 // // 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 10:57:45 +0000 // __int64 __fastcall cocos2d::CCMenuItemSprite::selected(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 __int64 v3; // x0 void (*v4)(void); // x2 v1 = result; *(_BYTE *)(result + 338) = 1; v2 = *(_QWORD *)(result + 384); if ( (v2 || *(_QWORD *)(result + 392)) && *(_QWORD *)(result + 376) ) { v3 = *(_QWORD *)(result + 392); if ( v3 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0); v2 = *(_QWORD *)(v1 + 384); } v4 = *(void (**)(void))(**(_QWORD **)(v1 + 376) + 344LL); if ( v2 ) { v4(); v4 = *(void (**)(void))(**(_QWORD **)(v1 + 384) + 344LL); } return ((__int64 (*)(void))v4)(); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source