// // cocos2d::CCIMEDispatcher::attachDelegateWithIME from 0x1800b8610 to 0x1800b86da (202 bytes) // // 5 xrefs: // > cocos2d::CCIMEDelegate::attachWithIME @ 0x1800b86f9 // > @ 0x18014a5ec // > @ 0x18014a5fc // > @ 0x18014cf68 // > @ 0x1801c2c1c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:22 +0000 // __int64 __fastcall cocos2d::CCIMEDispatcher::attachDelegateWithIME( cocos2d::CCIMEDispatcher *this, struct cocos2d::CCIMEDelegate *a2) { unsigned __int8 v3; // si __int64 ***v4; // rcx __int64 **v6; // rax __int64 **v7; // rbx __int64 **v8; // rcx __int64 v9; // rcx v3 = 0; v4 = *(__int64 ****)this; if ( v4 ) { if ( a2 ) { v6 = *v4; v7 = (__int64 **)**v4; if ( *v6 != (__int64 *)v6 ) { while ( a2 != (struct cocos2d::CCIMEDelegate *)v7[2] ) { v7 = (__int64 **)*v7; if ( v7 == v6 ) return v3; } if ( v6 != v7 ) { v8 = v4[2]; if ( v8 ) { if ( ((unsigned __int8 (__fastcall *)(__int64 **))(*v8)[5])(v8) && (*(unsigned __int8 (__fastcall **)(struct cocos2d::CCIMEDelegate *))(*(_QWORD *)a2 + 24LL))(a2) ) { v9 = *(_QWORD *)(*(_QWORD *)this + 16LL); *(_QWORD *)(*(_QWORD *)this + 16LL) = 0; (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 48LL))(v9); LABEL_13: *(_QWORD *)(*(_QWORD *)this + 16LL) = v7[2]; (*(void (__fastcall **)(struct cocos2d::CCIMEDelegate *))(*(_QWORD *)a2 + 32LL))(a2); return 1; } } else if ( (*(unsigned __int8 (__fastcall **)(struct cocos2d::CCIMEDelegate *))(*(_QWORD *)a2 + 24LL))(a2) ) { goto LABEL_13; } } } } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source