// // CCTextInputNode::holdTimerFired from 0x3e276c to 0x3e280e (162 bytes) // // 0 xrefs: // // 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:02 +0000 // int *__fastcall CCTextInputNode::holdTimerFired(CCTextInputNode *this, float a2) { int v3; // r2 int v4; // r3 int *result; // r0 int v6; // r0 float v7[2]; // [sp+4h] [bp-20h] BYREF _DWORD v8[4]; // [sp+Ch] [bp-18h] BYREF *((_BYTE *)this + 500) = 0; *((_BYTE *)this + 501) = 1; if ( *((_BYTE *)this + 344) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (CCTextInputNode *)((char *)this + 492)); return CCTextInputNode::openEditMenu(this, (const cocos2d::CCPoint *)v8, v3, v4); } else { v6 = *((_DWORD *)this + 105); if ( !v6 || (result = (int *)(*(int (__fastcall **)(int, CCTextInputNode *))(*(_DWORD *)v6 + 20))(v6, this)) != nullptr ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (CCTextInputNode *)((char *)this + 492)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const cocos2d::CCRect *)&unk_D2B360); CCTextInputNode::updateCursorPosition((int)this, v7); (*(void (__fastcall **)(CCTextInputNode *, int))(*(_DWORD *)this + 580))(this, 1); v8[0] = CCTextInputNode::showHoldMenu; v8[1] = 0; return (int *)cocos2d::CCNode::scheduleOnce((int)this, (int)CCTextInputNode::showHoldMenu, 0, 0.35); } } return result; }