// // CCTextInputNode::keyboardWillShow from 0x140050280 to 0x1400503d5 (341 bytes) // // 5 xrefs: // > @ 0x140532470 // > @ 0x140663e7c // > @ 0x140663e90 // > @ 0x140663ec4 // > @ 0x1406c4d04 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CCTextInputNode::keyboardWillShow(CCTextInputNode *a1, cocos2d::CCIMEKeyboardNotificationInfo *a2) { __int64 v4; // rcx const struct cocos2d::CCPoint *v5; // rax float *v6; // rbx __int64 v7; // rax __int64 v8; // rax __int64 v9; // rcx cocos2d::CCRect v10; // [rsp+20h] [rbp-28h] BYREF cocos2d::CCPoint v11; // [rsp+50h] [rbp+8h] BYREF if ( !BYTE2(a1->m_sInverse.d) ) { v4 = *(_QWORD *)&a1->m_sTransform.b; if ( v4 ) { if ( LOBYTE(a1->m_fRotationY) ) { v5 = (const struct cocos2d::CCPoint *)(*(__int64 (**)(void))(*(_QWORD *)v4 + 280LL))(); v6 = (float *)cocos2d::CCPoint::CCPoint(&v11, v5); cocos2d::CCRect::CCRect(&v10); v7 = (*(__int64 (__fastcall **)(cocos2d::CCArray **))&a1[-1].m_pChildren[3].m_uID)(&a1[-1].m_pChildren); cocos2d::CCPoint::operator=(&v10, v7); v8 = (*(__int64 (__fastcall **)(cocos2d::CCArray **))&a1[-1].m_pChildren[4].m_uOrderOfArrival)(&a1[-1].m_pChildren); cocos2d::CCSize::operator=(&v10.size, v8); v10.origin.x = v10.origin.x - (float)(v10.size.width * *v6); v10.origin.y = (float)(v10.origin.y - (float)(v10.size.height * v6[1])) - 4.0; if ( cocos2d::CCRect::intersectsRect(&v10, &a2->end) ) { BYTE1(a1->m_fRotationY) = 1; cocos2d::CCRect::getMaxY(&a2->end); cocos2d::CCRect::getMinY(&v10); v9 = *(_QWORD *)&a1->m_sTransform.d; if ( v9 ) (*(void (__fastcall **)(__int64, cocos2d::CCArray **))(*(_QWORD *)v9 + 24LL))(v9, &a1[-1].m_pChildren); } } } } }