// // cocos2d::CCIMEDelegate::detachWithIME from 0x1800b4a30 to 0x1800b4a93 (99 bytes) // // 4 xrefs: // > cocos2d::CCTextFieldTTF::detachWithIME @ 0x1800b5546 // > @ 0x180106710 // > @ 0x1801438a8 // > @ 0x1801b8964 // // 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 // char __fastcall cocos2d::CCIMEDelegate::detachWithIME(cocos2d::CCIMEDelegate *this) { struct cocos2d::CCIMEDispatcher *v2; // rdi v2 = cocos2d::CCIMEDispatcher::sharedDispatcher(); if ( !v2->m_pImpl || !this || *((cocos2d::CCIMEDelegate **)v2->m_pImpl + 2) != this || !((unsigned __int8 (__fastcall *)(cocos2d::CCIMEDelegate *))this->canDetachWithIME)(this) ) { return 0; } *((_QWORD *)v2->m_pImpl + 2) = 0; ((void (__fastcall *)(cocos2d::CCIMEDelegate *))this->didDetachWithIME)(this); return 1; }