// // ScrollableContentLayer::handleTouchBegan from 0x3f4b50 to 0x3f4cc4 (372 bytes) // // 13 xrefs: // > CCTextInputNode::ccTouchBegan @ 0x3e265c // > ScrollableContentLayer::feedTouchBegan @ 0x3f5586 // > KeybindingsLayer::ccTouchBegan @ 0x58902e // > SetGroupIDLayer::ccTouchBegan @ 0x6394f6 // > NewsPopup::ccTouchBegan @ 0x6c1600 // > ScrollViewPopup::ccTouchBegan @ 0x6ca0f6 // > DeathHistogram::handleTouchBegan @ 0x767326 // > DeathTrackerPopup::ccTouchBegan @ 0x770a5e // > DropdownListPopup::ccTouchBegan @ 0x7772e8 // > EditorSFXActionConfigLayer::ccTouchBegan @ 0x77bc22 // > EditorSoundConfigInfoLayer::ccTouchBegan @ 0x7849c6 // > EditorSoundsLayer::ccTouchBegan @ 0x78a04a // > EditorWindowPopup::beginTouch @ 0x78d0a0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:16 +0000 // int __fastcall ScrollableContentLayer::handleTouchBegan(ScrollableContentLayer *this, cocos2d::CCTouch *a2) { float v3; // s15 clock_t v4; // r0 int v5; // s15 int v6; // r0 float v7; // s15 const cocos2d::CCSize *v8; // r0 float v9; // r0 _BYTE v11[8]; // [sp+Ch] [bp-24h] BYREF _BYTE v12[4]; // [sp+14h] [bp-1Ch] BYREF float v13; // [sp+18h] [bp-18h] _BYTE v14[16]; // [sp+1Ch] [bp-14h] BYREF if ( *((_DWORD *)this + 85) != -1 ) return 0; v3 = *((float *)this + 81); if ( !*((_BYTE *)this + 444) ) v3 = *((float *)this + 82); if ( *((float *)this + 83) <= v3 ) return 0; *((_DWORD *)this + 85) = *((_DWORD *)a2 + 13); cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v14); cocos2d::CCPoint::operator=((char *)this + 344, v14); cocos2d::CCPoint::operator=((char *)this + 352, (char *)this + 344); v4 = clock(); *((_DWORD *)this + 92) = 0; *((_DWORD *)this + 93) = 0; *((_BYTE *)this + 376) = 0; *((_BYTE *)this + 377) = 0; *((_BYTE *)this + 396) = 0; v5 = v4; v6 = *((_DWORD *)this + 95); *((double *)this + 45) = (double)v5 / 1000000.0; if ( v6 && (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 176))(v6) ) { cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v11, this); v7 = (float)(*((float *)this + 81) - 2.0) + *((float *)this + 97); v8 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 95) + 164))(*((_DWORD *)this + 95)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, v8); v9 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 95) + 120))(*((_DWORD *)this + 95)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, (float)(v7 - 3.0) - 8.0, (float)(v9 - v13) - 2.0, 19.0, v13 + 4.0); if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v14, (const cocos2d::CCPoint *)v11) ) { *((_BYTE *)this + 396) = 1; *((_BYTE *)this + 376) = 1; *((_BYTE *)this + 377) = 1; *((_DWORD *)this + 100) = *((_DWORD *)this + 87); *((_DWORD *)this + 101) = *((_DWORD *)this + 84); } } cocos2d::CCNode::unscheduleUpdate(this); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source