// // ThreadViewPopup::checkMessageTap from 0x7525c8 to 0x7526ae (230 bytes) // // 1 xrefs: // > ThreadViewPopup::ccTouchEnded @ 0x7526ea // // 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:58:52 +0000 // _DWORD *__fastcall ThreadViewPopup::checkMessageTap(_DWORD *this, cocos2d::CCTouch *a2) { _DWORD *v2; // r4 int v3; // r7 int v4; // r0 int *v5; // r0 _BYTE v6[8]; // [sp+Ch] [bp-2Ch] BYREF float v7[2]; // [sp+14h] [bp-24h] BYREF float v8[2]; // [sp+1Ch] [bp-1Ch] BYREF _BYTE v9[16]; // [sp+24h] [bp-14h] BYREF v2 = this; if ( *(this + 155) ) { if ( *(this + 196) != *(this + 197) ) { cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v6); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v7, (const cocos2d::CCPoint *)v2[155]); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v8, (const cocos2d::CCSize *)(v2[155] + 324)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, v7[0], v7[1], v8[0], v8[1]); this = (_DWORD *)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v9, (const cocos2d::CCPoint *)v6); if ( this ) { v3 = 0; cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v9, *(const cocos2d::CCPoint **)(v2[155] + 320)); while ( 1 ) { this = (_DWORD *)v2[196]; if ( v3 >= -1227133513 * ((v2[197] - (int)this) >> 2) ) break; if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(this + 7 * v3 + 2), (const cocos2d::CCPoint *)v9) ) { v4 = v2[171]; if ( v4 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 580))(v4, 0); v5 = LevelBadgePopup::create( *(LevelBadgePopup **)(v2[196] + 28 * v3), *(_BYTE *)(v2[196] + 28 * v3 + 4), v2[196] + 28 * v3); return (_DWORD *)(*(int (__fastcall **)(int *))(*v5 + 656))(v5); } ++v3; } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source