; ; EditorUI::showMaxBasicError from 0x140112b40 to 0x140112c71 (305 bytes) ; ; 4 xrefs: ; > EditorUI::onCreate @ 0x14010f479 ; > EditorUI::onDuplicate @ 0x140112d31 ; > EditorUI::doPasteObjects @ 0x140113400 ; > @ 0x1406c906c ; ; 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_10], rbx ; +0x0, 0x140112b40 mov [rsp+arg_18], rsi ; +0x5, 0x140112b45 push rdi ; +0xa, 0x140112b4a sub rsp, 90h ; +0xb, 0x140112b4b mov rbx, rcx ; +0x12, 0x140112b52 cmp byte ptr [rcx+268h], 0 ; +0x15, 0x140112b55 jnz loc_140112C5C ; +0x1c, 0x140112b5c mov byte ptr [rcx+268h], 1 ; +0x22, 0x140112b62 mov edx, 9C40h ; +0x29, 0x140112b69 mov r8d, 13880h ; +0x2e, 0x140112b6e lea rcx, aYouHaveReached_0; "You have reached the max limit of %"... ; +0x34, 0x140112b74 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x3b, 0x140112b7b lea rdi, [rbx+198h] ; +0x41, 0x140112b81 xor esi, esi ; +0x48, 0x140112b88 test rbx, rbx ; +0x4a, 0x140112b8a cmovz rdi, rsi ; +0x4d, 0x140112b8d mov rcx, rax ; +0x51, 0x140112b91 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x54, 0x140112b94 xorps xmm0, xmm0 ; +0x5a, 0x140112b9a movups [rsp+98h+var_48], xmm0 ; +0x5d, 0x140112b9d mov [rsp+98h+var_38], rsi ; +0x62, 0x140112ba2 mov [rsp+98h+var_30], rsi ; +0x67, 0x140112ba7 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x6c, 0x140112bac inc r8 ; +0x73, 0x140112bb3 cmp [rax+r8], sil ; +0x76, 0x140112bb6 jnz short loc_140112BB3 ; +0x7a, 0x140112bba mov rdx, rax ; +0x7c, 0x140112bbc lea rcx, [rsp+98h+var_48] ; +0x7f, 0x140112bbf call sub_14003A930 ; +0x84, 0x140112bc4 lea rax, [rsp+98h+var_48] ; +0x89, 0x140112bc9 mov [rsp+98h+arg_0], rax ; +0x8e, 0x140112bce lea rdx, [rsp+98h+var_48] ; +0x96, 0x140112bd6 lea rcx, [rsp+98h+var_28] ; +0x9b, 0x140112bdb call sub_14003BDB0 ; +0xa0, 0x140112be0 movss xmm0, cs:flt_140622C24 ; +0xa5, 0x140112be5 movss [rsp+98h+var_58], xmm0 ; +0xad, 0x140112bed xorps xmm1, xmm1 ; +0xb3, 0x140112bf3 movss [rsp+98h+var_60], xmm1 ; +0xb6, 0x140112bf6 mov [rsp+98h+var_68], 0 ; +0xbc, 0x140112bfc movss xmm0, cs:dword_140623478 ; +0xc1, 0x140112c01 movss [rsp+98h+var_70], xmm0 ; +0xc9, 0x140112c09 lea rcx, aIncrease; "Increase" ; +0xcf, 0x140112c0f mov [rsp+98h+var_78], rcx ; +0xd6, 0x140112c16 lea r9, aCancel; "Cancel" ; +0xdb, 0x140112c1b mov r8, rax ; +0xe2, 0x140112c22 lea rdx, aMaxObjects; "Max Objects" ; +0xe5, 0x140112c25 mov rcx, rdi ; +0xec, 0x140112c2c call FLAlertLayer__create ; +0xef, 0x140112c2f mov rbx, rax ; +0xf4, 0x140112c34 lea rcx, [rsp+98h+var_48] ; +0xf7, 0x140112c37 call sub_14003A830 ; +0xfc, 0x140112c3c mov r8, [rbx] ; +0x101, 0x140112c41 mov edx, 7Dh ; '}' ; +0x104, 0x140112c44 mov rcx, rbx ; +0x109, 0x140112c49 call qword ptr [r8+40h] ; +0x10c, 0x140112c4c mov rdx, [rbx] ; +0x110, 0x140112c50 mov rcx, rbx ; +0x113, 0x140112c53 call qword ptr [rdx+410h] ; +0x116, 0x140112c56 lea r11, [rsp+98h+var_8] ; +0x11c, 0x140112c5c mov rbx, [r11+20h] ; +0x124, 0x140112c64 mov rsi, [r11+28h] ; +0x128, 0x140112c68 mov rsp, r11 ; +0x12c, 0x140112c6c pop rdi ; +0x12f, 0x140112c6f retn ; +0x130, 0x140112c70