; ; sub_1800104A0 from 0x1800104a0 to 0x18001052d (141 bytes) ; ; 2 xrefs: ; > @ 0x180028060 ; > @ 0x18004a14c ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800104a0 mov [rsp+arg_8], rsi ; +0x5, 0x1800104a5 push rdi ; +0xa, 0x1800104aa sub rsp, 20h ; +0xb, 0x1800104ab mov rbx, rcx ; +0xf, 0x1800104af mov edi, edx ; +0x12, 0x1800104b2 and edi, 1 ; +0x14, 0x1800104b4 test dl, 2 ; +0x17, 0x1800104b7 jz short loc_180010502 ; +0x1a, 0x1800104ba lea r9, ??1CCEditBoxImpl@extension@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x1c, 0x1800104bc mov r8, [rcx-8]; unsigned __int64 ; +0x23, 0x1800104c3 mov edx, 18h; unsigned __int64 ; +0x27, 0x1800104c7 call ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x1800104cc test edi, edi ; +0x31, 0x1800104d1 jz short loc_1800104EE ; +0x33, 0x1800104d3 mov rcx, [rbx-8] ; +0x35, 0x1800104d5 lea rdx, [rcx+rcx*2] ; +0x39, 0x1800104d9 lea rdx, ds:8[rdx*8] ; +0x3d, 0x1800104dd lea rcx, [rbx-8]; Block ; +0x45, 0x1800104e5 call j_j_j_free ; +0x49, 0x1800104e9 lea rax, [rbx-8] ; +0x4e, 0x1800104ee mov rbx, [rsp+28h+arg_0] ; +0x52, 0x1800104f2 mov rsi, [rsp+28h+arg_8] ; +0x57, 0x1800104f7 add rsp, 20h ; +0x5c, 0x1800104fc pop rdi ; +0x60, 0x180010500 retn ; +0x61, 0x180010501 lea rax, ??_7CCEditBoxImpl@extension@cocos2d@@6B@; const cocos2d::extension::CCEditBoxImpl::`vftable' ; +0x62, 0x180010502 mov [rcx], rax ; +0x69, 0x180010509 test edi, edi ; +0x6c, 0x18001050c jz short loc_18001051A ; +0x6e, 0x18001050e mov edx, 18h ; +0x70, 0x180010510 call j_j_free ; +0x75, 0x180010515 mov rax, rbx ; +0x7a, 0x18001051a mov rbx, [rsp+28h+arg_0] ; +0x7d, 0x18001051d mov rsi, [rsp+28h+arg_8] ; +0x82, 0x180010522 add rsp, 20h ; +0x87, 0x180010527 pop rdi ; +0x8b, 0x18001052b retn ; +0x8c, 0x18001052c