// // cocos2d::CCIMEDelegate::detachWithIME from 0x1004bc190 to 0x1004bc25b (203 bytes) // // 5 xrefs: // > cocos2d::CCTextFieldTTF::detachWithIME @ 0x10027c36d // > sub_10027C3A0 @ 0x10027c3a6 // > @ 0x1008b6d40 // > @ 0x100947b20 // > @ 0x10094cde8 // // 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 // bool __fastcall cocos2d::CCIMEDelegate::detachWithIME(cocos2d::CCIMEDelegate *a1) { _QWORD *v2; // rax if ( !(_BYTE)byte_1009A1EE0 && __cxa_guard_acquire(&byte_1009A1EE0) ) { v2 = operator new(0x20u); *v2 = v2; v2[1] = v2; v2[2] = 0; qword_1009A1ED8 = (__int64)v2; v2[3] = 0; __cxa_atexit(func, &qword_1009A1ED8, (void *)&_mh_execute_header); __cxa_guard_release(&byte_1009A1EE0); } if ( qword_1009A1ED8 == 0 || a1 == nullptr || *(cocos2d::CCIMEDelegate **)(qword_1009A1ED8 + 24) != a1 || !((unsigned __int8 (__fastcall *)(cocos2d::CCIMEDelegate *))a1->canDetachWithIME)(a1) ) { return 0; } *(_QWORD *)(qword_1009A1ED8 + 24) = 0; ((void (__fastcall *)(cocos2d::CCIMEDelegate *))a1->didDetachWithIME)(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source