{"type": "func", "start": 6443208336, "end": 6443208392, "name": "cocos2d::CCTextFieldTTF::attachWithIME", "pseudocode": "// \n// cocos2d::CCTextFieldTTF::attachWithIME from 0x1800b8e90 to 0x1800b8ec8 (56 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18010d398\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2d60\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\n__int64 __fastcall cocos2d::CCTextFieldTTF::attachWithIME(cocos2d::CCTextFieldTTF *this)\n{\n  __int64 result; // rax\n  unsigned __int8 v2; // bl\n  __int64 *v3; // rcx\n  __int64 v4; // rdx\n\n  result = cocos2d::CCIMEDelegate::attachWithIME(this);\n  v2 = result;\n  if ( (_BYTE)result )\n  {\n    v3 = *((__int64 **)cocos2d::CCDirector::sharedDirector() + 24);\n    if ( v3 )\n    {\n      v4 = *v3;\n      LOBYTE(v4) = 1;\n      (*(void (__fastcall **)(__int64 *, __int64))(*v3 + 32))(v3, v4);\n    }\n    return v2;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCTextFieldTTF::attachWithIME from 0x1800b8e90 to 0x1800b8ec8 (56 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18010d398\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2d60\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, 0x1800b8e90\nsub     rsp, 20h                                                       ; +0x2, 0x1800b8e92\ncall    ?attachWithIME@CCIMEDelegate@cocos2d@@UEAA_NXZ; cocos2d::CCIMEDelegate::attachWithIME(void) ; +0x6, 0x1800b8e96\nmovzx   ebx, al                                                        ; +0xb, 0x1800b8e9b\ntest    al, al                                                         ; +0xe, 0x1800b8e9e\njz      short loc_1800B8EC2                                            ; +0x10, 0x1800b8ea0\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x1800b8ea2\nmov     rcx, [rax+0C0h]                                                ; +0x17, 0x1800b8ea7\ntest    rcx, rcx                                                       ; +0x1e, 0x1800b8eae\njz      short loc_1800B8EBF                                            ; +0x21, 0x1800b8eb1\nmov     rdx, [rcx]                                                     ; +0x23, 0x1800b8eb3\nmov     r8, [rdx+20h]                                                  ; +0x26, 0x1800b8eb6\nmov     dl, 1                                                          ; +0x2a, 0x1800b8eba\ncall    r8                                                             ; +0x2c, 0x1800b8ebc\nmovzx   eax, bl                                                        ; +0x2f, 0x1800b8ebf\nadd     rsp, 20h                                                       ; +0x32, 0x1800b8ec2\npop     rbx                                                            ; +0x36, 0x1800b8ec6\nretn                                                                   ; +0x37, 0x1800b8ec7", "xrefs": ["<???> @ 0x18010d398", "<???> @ 0x18014cf68", "<???> @ 0x1801c2d60"], "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"}