{"type": "func", "start": 6443209216, "end": 6443209272, "name": "cocos2d::CCTextFieldTTF::detachWithIME", "pseudocode": "// \n// cocos2d::CCTextFieldTTF::detachWithIME from 0x1800b9200 to 0x1800b9238 (56 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18010d3a0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2d90\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:22 +0000\n// \n\nchar __fastcall cocos2d::CCTextFieldTTF::detachWithIME(cocos2d::CCTextFieldTTF *this)\n{\n  char result; // al\n  char v2; // bl\n  __int64 v3; // rcx\n\n  result = cocos2d::CCIMEDelegate::detachWithIME(this);\n  v2 = result;\n  if ( result )\n  {\n    v3 = *((_QWORD *)cocos2d::CCDirector::sharedDirector() + 24);\n    if ( v3 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 32LL))(v3, 0);\n    return v2;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCTextFieldTTF::detachWithIME from 0x1800b9200 to 0x1800b9238 (56 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18010d3a0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2d90\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800b9200\nsub     rsp, 20h                                                       ; +0x2, 0x1800b9202\ncall    ?detachWithIME@CCIMEDelegate@cocos2d@@UEAA_NXZ; cocos2d::CCIMEDelegate::detachWithIME(void) ; +0x6, 0x1800b9206\nmovzx   ebx, al                                                        ; +0xb, 0x1800b920b\ntest    al, al                                                         ; +0xe, 0x1800b920e\njz      short loc_1800B9232                                            ; +0x10, 0x1800b9210\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x1800b9212\nmov     rcx, [rax+0C0h]                                                ; +0x17, 0x1800b9217\ntest    rcx, rcx                                                       ; +0x1e, 0x1800b921e\njz      short loc_1800B922F                                            ; +0x21, 0x1800b9221\nmov     rdx, [rcx]                                                     ; +0x23, 0x1800b9223\nmov     r8, [rdx+20h]                                                  ; +0x26, 0x1800b9226\nxor     edx, edx                                                       ; +0x2a, 0x1800b922a\ncall    r8                                                             ; +0x2c, 0x1800b922c\nmovzx   eax, bl                                                        ; +0x2f, 0x1800b922f\nadd     rsp, 20h                                                       ; +0x32, 0x1800b9232\npop     rbx                                                            ; +0x36, 0x1800b9236\nretn                                                                   ; +0x37, 0x1800b9237", "xrefs": ["<???> @ 0x18010d3a0", "<???> @ 0x18014cf68", "<???> @ 0x1801c2d90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}