// // sub_5951D8 from 0x5951d8 to 0x595270 (152 bytes) // // 3 xrefs: // > CCTextInputNode::keyboardWillShow @ 0x595310 // > CCTextInputNode::onTextFieldAttachWithIME @ 0x5a4e04 // > CCTextInputNode::ccTouchBegan @ 0x5a5694 // // 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 // float __usercall sub_5951D8@(__int64 a1@, float *a2@, cocos2d::CCRect *a3@) { float v6; // s0 float v7; // s1 __int64 v8; // x0 float result; // s0 cocos2d::CCRect::CCRect(a3); v6 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); cocos2d::CCPoint::operator=(a3, v6, v7); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 312LL))(a1); cocos2d::CCSize::operator=(&a3->size, v8); result = a3->origin.y - (float)(a3->size.height * a2[1]); a3->origin.x = a3->origin.x - (float)(a3->size.width * *a2); a3->origin.y = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source