// // cocos2d::extension::CCControlButton::ccTouchBegan from 0xd0cd5c to 0xd0ce58 (252 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlButton::ccTouchBegan @ 0xd0ce5c // > @ 0xb8ee8 // > @ 0x150a7f0 // > @ 0x150ff70 // // 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:00 +0000 // __int64 __fastcall cocos2d::extension::CCControlButton::ccTouchBegan(__int64 *a1) { unsigned int v2; // w1 unsigned __int8 hasVisibleParents; // w0 unsigned int v5; // w21 __int64 i; // x19 __int64 v7; // x2 if ( !(*(unsigned __int8 (__fastcall **)(__int64 *))(*a1 + 1352))(a1) ) return 0; if ( !(*(unsigned __int8 (__fastcall **)(__int64 *))(*a1 + 1272))(a1) ) return 0; if ( !(*(unsigned __int8 (__fastcall **)(__int64 *))(*a1 + 352))(a1) ) return 0; hasVisibleParents = cocos2d::extension::CCControl::hasVisibleParents((cocos2d::extension::CCControl *)a1); v5 = hasVisibleParents; if ( !hasVisibleParents ) return 0; for ( i = a1[27]; i; i = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)i + 512LL))(i) ) { v2 = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)i + 352LL))(i); if ( !v2 ) return v2; } v7 = *a1; *((_BYTE *)a1 + 524) = 1; (*(void (__fastcall **)(__int64 *))(v7 + 1296))(a1); (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1320))(a1, 1); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source