{"type": "func", "start": 5369207712, "end": 5369208003, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x140079ba0 to 0x140079cc3 (291 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x140078f3a\n// > AccountRegisterLayer::init @ 0x140079160\n// > AccountRegisterLayer::init @ 0x1400793cd\n// > AccountRegisterLayer::init @ 0x14007960f\n// > AccountRegisterLayer::init @ 0x14007983b\n// > <???> @ 0x1406c66f0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nCCTextInputNode *__fastcall AccountRegisterLayer::createTextInput(\n        TextInputDelegate *a1,\n        const cocos2d::CCPoint *a2,\n        float *a3,\n        __int64 a4,\n        int a5)\n{\n  const char *v9; // r8\n  CCTextInputNode *v10; // rbx\n  TextInputDelegate *v11; // rcx\n  int v13; // [rsp+20h] [rbp-48h]\n\n  v9 = (const char *)a4;\n  if ( *(_QWORD *)(a4 + 24) > 0xFu )\n    v9 = *(const char **)a4;\n  v10 = CCTextInputNode::create(*a3 - 20.0, a3[1] + 10.0, v9, (const char *)a4, v13, (const char *)&qword_14052A4D8);\n  (*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, __int64))a1[72].textChanged + 55))(\n    a1[72].__vftable,\n    v10,\n    20);\n  v10->m_maxLabelScale = 0.80000001;\n  CCTextInputNode::refreshLabel(v10);\n  v11 = a1 + 79;\n  if ( !a1 )\n    v11 = nullptr;\n  v10->m_delegate = v11;\n  v10->setTag(v10, a5);\n  v10->setPosition_0(v10, a2);\n  v10->m_textField->setVisible(v10->m_textField, 0);\n  *(_WORD *)&v10->m_placeholderColor.r = -21896;\n  v10->m_placeholderColor.b = -16;\n  CCTextInputNode::refreshLabel(v10);\n  v10->m_placeholderScale = 0.5;\n  CCTextInputNode::refreshLabel(v10);\n  sub_14003A830(a4);\n  return v10;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x140079ba0 to 0x140079cc3 (291 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x140078f3a\n; > AccountRegisterLayer::init @ 0x140079160\n; > AccountRegisterLayer::init @ 0x1400793cd\n; > AccountRegisterLayer::init @ 0x14007960f\n; > AccountRegisterLayer::init @ 0x14007983b\n; > <???> @ 0x1406c66f0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140079ba0\npush    rbp                                                            ; +0x2, 0x140079ba2\npush    rsi                                                            ; +0x3, 0x140079ba3\npush    rdi                                                            ; +0x4, 0x140079ba4\nsub     rsp, 48h                                                       ; +0x5, 0x140079ba5\nmov     rax, cs:__security_cookie                                      ; +0x9, 0x140079ba9\nxor     rax, rsp                                                       ; +0x10, 0x140079bb0\nmov     [rsp+68h+var_30], rax                                          ; +0x13, 0x140079bb3\nmov     rdi, r9                                                        ; +0x18, 0x140079bb8\nmov     rax, r8                                                        ; +0x1b, 0x140079bbb\nmov     rbp, rdx                                                       ; +0x1e, 0x140079bbe\nmov     rsi, rcx                                                       ; +0x21, 0x140079bc1\nmov     [rsp+68h+var_38], r9                                           ; +0x24, 0x140079bc4\nmov     r8, r9                                                         ; +0x29, 0x140079bc9\ncmp     qword ptr [r9+18h], 0Fh                                        ; +0x2c, 0x140079bcc\njbe     short loc_140079BD6                                            ; +0x31, 0x140079bd1\nmov     r8, [r9]                                                       ; +0x33, 0x140079bd3\nmovss   xmm1, dword ptr [rax+4]                                        ; +0x36, 0x140079bd6\naddss   xmm1, cs:flt_14062307C                                         ; +0x3b, 0x140079bdb\nmovss   xmm0, dword ptr [rax]                                          ; +0x43, 0x140079be3\nsubss   xmm0, cs:dword_140623120                                       ; +0x47, 0x140079be7\nlea     rax, qword_14052A4D8                                           ; +0x4f, 0x140079bef\nmov     [rsp+68h+var_40], rax                                          ; +0x56, 0x140079bf6\ncall    CCTextInputNode__create                                        ; +0x5b, 0x140079bfb\nmov     rbx, rax                                                       ; +0x60, 0x140079c00\nmov     rcx, [rsi+240h]                                                ; +0x63, 0x140079c03\nmov     r9, [rcx]                                                      ; +0x6a, 0x140079c0a\nmov     r8d, 14h                                                       ; +0x6d, 0x140079c0d\nmov     rdx, rax                                                       ; +0x73, 0x140079c13\ncall    qword ptr [r9+1B8h]                                            ; +0x76, 0x140079c16\nmov     dword ptr [rbx+20Ch], 3F4CCCCDh                                ; +0x7d, 0x140079c1d\nmov     rcx, rbx                                                       ; +0x87, 0x140079c27\ncall    CCTextInputNode__refreshLabel                                  ; +0x8a, 0x140079c2a\nlea     rcx, [rsi+278h]                                                ; +0x8f, 0x140079c2f\nxor     eax, eax                                                       ; +0x96, 0x140079c36\ntest    rsi, rsi                                                       ; +0x98, 0x140079c38\ncmovz   rcx, rax                                                       ; +0x9b, 0x140079c3b\nmov     [rbx+230h], rcx                                                ; +0x9f, 0x140079c3f\nmov     rax, [rbx]                                                     ; +0xa6, 0x140079c46\nmov     edx, [rsp+68h+arg_20]                                          ; +0xa9, 0x140079c49\nmov     rcx, rbx                                                       ; +0xb0, 0x140079c50\ncall    qword ptr [rax+40h]                                            ; +0xb3, 0x140079c53\nmov     rax, [rbx]                                                     ; +0xb6, 0x140079c56\nmov     rdx, rbp                                                       ; +0xb9, 0x140079c59\nmov     rcx, rbx                                                       ; +0xbc, 0x140079c5c\ncall    qword ptr [rax+0B8h]                                           ; +0xbf, 0x140079c5f\nmov     rcx, [rbx+228h]                                                ; +0xc5, 0x140079c65\nmov     rax, [rcx]                                                     ; +0xcc, 0x140079c6c\nxor     edx, edx                                                       ; +0xcf, 0x140079c6f\ncall    qword ptr [rax+140h]                                           ; +0xd1, 0x140079c71\nmov     word ptr [rbx+214h], 0AA78h                                    ; +0xd7, 0x140079c77\nmov     byte ptr [rbx+216h], 0F0h                                      ; +0xe0, 0x140079c80\nmov     rcx, rbx                                                       ; +0xe7, 0x140079c87\ncall    CCTextInputNode__refreshLabel                                  ; +0xea, 0x140079c8a\nmov     dword ptr [rbx+210h], 3F000000h                                ; +0xef, 0x140079c8f\nmov     rcx, rbx                                                       ; +0xf9, 0x140079c99\ncall    CCTextInputNode__refreshLabel                                  ; +0xfc, 0x140079c9c\nnop                                                                    ; +0x101, 0x140079ca1\nmov     rcx, rdi                                                       ; +0x102, 0x140079ca2\ncall    sub_14003A830                                                  ; +0x105, 0x140079ca5\nmov     rax, rbx                                                       ; +0x10a, 0x140079caa\nmov     rcx, [rsp+68h+var_30]                                          ; +0x10d, 0x140079cad\nxor     rcx, rsp; StackCookie                                          ; +0x112, 0x140079cb2\ncall    __security_check_cookie                                        ; +0x115, 0x140079cb5\nadd     rsp, 48h                                                       ; +0x11a, 0x140079cba\npop     rdi                                                            ; +0x11e, 0x140079cbe\npop     rsi                                                            ; +0x11f, 0x140079cbf\npop     rbp                                                            ; +0x120, 0x140079cc0\npop     rbx                                                            ; +0x121, 0x140079cc1\nretn                                                                   ; +0x122, 0x140079cc2", "xrefs": ["AccountRegisterLayer::init @ 0x140078f3a", "AccountRegisterLayer::init @ 0x140079160", "AccountRegisterLayer::init @ 0x1400793cd", "AccountRegisterLayer::init @ 0x14007960f", "AccountRegisterLayer::init @ 0x14007983b", "<???> @ 0x1406c66f0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}