// // ThreadRequestPopup::ccTouchEnded from 0xc775a0 to 0xc776f4 (340 bytes) // // 3 xrefs: // > `non-virtual thunk to'ThreadRequestPopup::ccTouchEnded @ 0xc776f8 // > @ 0x52900 // > @ 0x14f2dd0 // // 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:05:34 +0000 // __int64 __fastcall ThreadRequestPopup::ccTouchEnded(__int64 a1, cocos2d::CCTouch *this) { cocos2d::CCNode *v4; // x26 __int64 v5; // x23 signed int v6; // w24 __int64 v7; // x0 __int64 v8; // x0 __int64 v10; // [xsp+68h] [xbp+68h] BYREF __int64 v11; // [xsp+70h] [xbp+70h] BYREF if ( *(_DWORD *)(a1 + 640) != *((_DWORD *)this + 14) ) { v4 = *(cocos2d::CCNode **)(a1 + 584); cocos2d::CCTouch::getLocation(&v11, this); v5 = 0; v6 = 0; cocos2d::CCNode::convertToNodeSpace(&v10, v4, (const cocos2d::CCPoint *)&v11); v7 = *(_QWORD *)(a1 + 680); if ( (int)(-1227133513 * ((*(_QWORD *)(a1 + 688) - v7) >> 2)) > 0 ) { while ( !(unsigned __int8)cocos2d::CCRect::containsPoint( (cocos2d::CCRect *)(v7 + v5 + 8), (const cocos2d::CCPoint *)&v10) ) { v7 = *(_QWORD *)(a1 + 680); ++v6; v5 += 28; if ( v6 >= (int)(-1227133513 * ((*(_QWORD *)(a1 + 688) - v7) >> 2)) ) goto LABEL_7; } v8 = LevelBadgePopup::create( (LevelBadgePopup *)*(unsigned int *)(*(_QWORD *)(a1 + 680) + v5), *(_BYTE *)(*(_QWORD *)(a1 + 680) + v5 + 4)); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); } } LABEL_7: FLAlertLayer::ccTouchEnded(a1, (__int64)this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source