// // EditorSoundsLayer::ccTouchBegan from 0xcd5904 to 0xcd5a20 (284 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorSoundsLayer::ccTouchBegan @ 0xcd5a24 // > @ 0x4c558 // > @ 0x15006d0 // // 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:06:30 +0000 // __int64 __fastcall EditorSoundsLayer::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this, __int64 a3) { ScrollableContentLayer *v6; // x0 __int64 v7; // x0 unsigned int v8; // w22 unsigned __int8 v9; // w0 __int64 v11; // [xsp+40h] [xbp+40h] BYREF __int64 v12; // [xsp+48h] [xbp+48h] BYREF float v13[2]; // [xsp+50h] [xbp+50h] BYREF _BYTE v14[16]; // [xsp+58h] [xbp+58h] BYREF if ( !*(_QWORD *)(a1 + 1152) ) goto LABEL_7; cocos2d::CCTouch::getLocation(&v11, this); cocos2d::CCNode::convertToWorldSpace(&v12, *(cocos2d::CCNode **)(a1 + 1152), (const cocos2d::CCPoint *)&unk_155F308); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v13, (const cocos2d::CCSize *)(*(_QWORD *)(a1 + 1152) + 424LL)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, *(float *)&v12, *((float *)&v12 + 1), v13[0], v13[1]); if ( !(unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v14, (const cocos2d::CCPoint *)&v11) ) goto LABEL_7; v6 = *(ScrollableContentLayer **)(a1 + 1152); if ( v6 ) ScrollableContentLayer::handleTouchBegan(v6, this); v7 = *(_QWORD *)(a1 + 1160); if ( v7 ) v8 = (*(unsigned __int8 (__fastcall **)(__int64, cocos2d::CCTouch *, __int64))(*(_QWORD *)v7 + 896LL))(v7, this, a3); else LABEL_7: v8 = 0; v9 = FLAlertLayer::ccTouchBegan(a1, (__int64)this, a3); *(_BYTE *)(a1 + 1168) = v8; return v9 | v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source