// // CCTextInputNode::openEditMenu from 0x10006c8f0 to 0x10006c9ab (187 bytes) // // 3 xrefs: // > sub_10006C760 @ 0x10006c790 // > CCTextInputNode::holdTimerFired @ 0x10006c869 // > CCTextInputNode::rightClick @ 0x10006cc47 // // This function is hookable on this platform (idp: pc, 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 12:19:45 +0000 // __int64 __fastcall CCTextInputNode::openEditMenu(__int64 a1, __int64 a2) { __int64 v2; // r15 __int64 v3; // rbx __int64 v4; // r14 __int64 v5; // r14 __int64 result; // rax __int64 v7; // rbx int v8; // eax _BYTE v9[40]; // [rsp+8h] [rbp-28h] BYREF v2 = a2; v3 = a1; v4 = *(_QWORD *)(a1 + 680); if ( v4 ) { *(_QWORD *)(a1 + 680) = 0; a2 = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 528LL))(v4, 1); a1 = v4; cocos2d::CCObject::release(v4); } v5 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(a1, a2) + 272); sub_1002782D0(v9, v2); result = CCTextInputMenu::create(v3, v9); if ( result != 0 && v5 != 0 ) { *(_QWORD *)(v3 + 680) = result; cocos2d::CCObject::retain(result); v7 = *(_QWORD *)(v3 + 680); v8 = sub_1004EAB70(v5); return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v5 + 464LL))(v5, v7, (unsigned int)(v8 + 1)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source