//
// sub_2F62CC from 0x2f62cc to 0x2f6328 (92 bytes)
//
// 3 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x2f6374
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x2fb13e
// > CCTextInputNode::ccTouchBegan @ 0x2fb560
//
// 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
//
cocos2d::CCRect *__fastcall sub_2F62CC(cocos2d::CCRect *a1, int a2, float *a3)
{
int v6; // r0
int v7; // r0
float v9; // s14
float height; // s13
cocos2d::CCRect::CCRect(a1);
v6 = (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 96))(a2);
cocos2d::CCPoint::operator=(a1, v6);
v7 = (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 156))(a2);
cocos2d::CCSize::operator=(&a1->size, v7);
v9 = a3[1];
height = a1->size.height;
a1->origin.x = a1->origin.x - (float)(a1->size.width * *a3);
a1->origin.y = a1->origin.y - (float)(height * v9);
return a1;
}