{"type": "func", "start": 5369218720, "end": 5369218959, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x14007c6a0 to 0x14007c78f (239 bytes)\n// \n// 4 xrefs:\n// > AccountLoginLayer::init @ 0x14007bdb9\n// > AccountLoginLayer::init @ 0x14007bfb7\n// > <???> @ 0x1406c67e0\n// > <???> @ 0x1406c67ec\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\nCCTextInputNode *AccountLoginLayer::createTextInput(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        cocos2d::CCSize a3,\n        const char *a4,\n        int a5)\n{\n  CCTextInputNode *v7; // rsi\n  TextInputDelegate *v8; // rcx\n  CCTextInputNode_vtbl *v9; // rax\n  int v11; // [rsp+20h] [rbp-18h]\n\n  v7 = CCTextInputNode::create(\n         **(float **)&a3,\n         *(float *)(*(_QWORD *)&a3 + 4LL) + 10.0,\n         a4,\n         a4,\n         v11,\n         (const char *)&qword_14052A4D8);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 20);\n  v7->m_maxLabelScale = 0.80000001;\n  CCTextInputNode::refreshLabel(v7);\n  v8 = &a1->TextInputDelegate;\n  if ( !a1 )\n    v8 = nullptr;\n  v9 = v7->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7->m_delegate = v8;\n  v9->setTag(v7, a5);\n  ((void (__fastcall *)(CCTextInputNode *, cocos2d::CCPoint))v7->setPosition_0)(v7, a2);\n  v7->m_textField->setVisible(v7->m_textField, 0);\n  *(_WORD *)&v7->m_placeholderColor.r = -21896;\n  v7->m_placeholderColor.b = -16;\n  CCTextInputNode::refreshLabel(v7);\n  v7->m_placeholderScale = 0.5;\n  CCTextInputNode::refreshLabel(v7);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x14007c6a0 to 0x14007c78f (239 bytes)\n; \n; 4 xrefs:\n; > AccountLoginLayer::init @ 0x14007bdb9\n; > AccountLoginLayer::init @ 0x14007bfb7\n; > <???> @ 0x1406c67e0\n; > <???> @ 0x1406c67ec\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14007c6a0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14007c6a5\npush    rdi                                                            ; +0xa, 0x14007c6aa\nsub     rsp, 30h                                                       ; +0xb, 0x14007c6ab\nmovss   xmm1, dword ptr [r8+4]                                         ; +0xf, 0x14007c6af\nmov     rax, r8                                                        ; +0x15, 0x14007c6b5\naddss   xmm1, cs:flt_14062307C                                         ; +0x18, 0x14007c6b8\nmov     rbx, rcx                                                       ; +0x20, 0x14007c6c0\nmov     r8, r9                                                         ; +0x23, 0x14007c6c3\nlea     rcx, qword_14052A4D8                                           ; +0x26, 0x14007c6c6\nmov     rdi, rdx                                                       ; +0x2d, 0x14007c6cd\nmovss   xmm0, dword ptr [rax]                                          ; +0x30, 0x14007c6d0\nmov     [rsp+38h+var_10], rcx                                          ; +0x34, 0x14007c6d4\ncall    CCTextInputNode__create                                        ; +0x39, 0x14007c6d9\nmov     rcx, [rbx+240h]                                                ; +0x3e, 0x14007c6de\nmov     r8d, 14h                                                       ; +0x45, 0x14007c6e5\nmov     rdx, rax                                                       ; +0x4b, 0x14007c6eb\nmov     rsi, rax                                                       ; +0x4e, 0x14007c6ee\nmov     r9, [rcx]                                                      ; +0x51, 0x14007c6f1\ncall    qword ptr [r9+1B8h]                                            ; +0x54, 0x14007c6f4\nmov     rcx, rsi                                                       ; +0x5b, 0x14007c6fb\nmov     dword ptr [rsi+20Ch], 3F4CCCCDh                                ; +0x5e, 0x14007c6fe\ncall    CCTextInputNode__refreshLabel                                  ; +0x68, 0x14007c708\nmov     edx, [rsp+38h+arg_20]                                          ; +0x6d, 0x14007c70d\nlea     rcx, [rbx+278h]                                                ; +0x71, 0x14007c711\nxor     eax, eax                                                       ; +0x78, 0x14007c718\ntest    rbx, rbx                                                       ; +0x7a, 0x14007c71a\ncmovz   rcx, rax                                                       ; +0x7d, 0x14007c71d\nmov     rax, [rsi]                                                     ; +0x81, 0x14007c721\nmov     [rsi+230h], rcx                                                ; +0x84, 0x14007c724\nmov     rcx, rsi                                                       ; +0x8b, 0x14007c72b\ncall    qword ptr [rax+40h]                                            ; +0x8e, 0x14007c72e\nmov     rax, [rsi]                                                     ; +0x91, 0x14007c731\nmov     rdx, rdi                                                       ; +0x94, 0x14007c734\nmov     rcx, rsi                                                       ; +0x97, 0x14007c737\ncall    qword ptr [rax+0B8h]                                           ; +0x9a, 0x14007c73a\nmov     rcx, [rsi+228h]                                                ; +0xa0, 0x14007c740\nxor     edx, edx                                                       ; +0xa7, 0x14007c747\nmov     rax, [rcx]                                                     ; +0xa9, 0x14007c749\ncall    qword ptr [rax+140h]                                           ; +0xac, 0x14007c74c\nmov     word ptr [rsi+214h], 0AA78h                                    ; +0xb2, 0x14007c752\nmov     rcx, rsi                                                       ; +0xbb, 0x14007c75b\nmov     byte ptr [rsi+216h], 0F0h                                      ; +0xbe, 0x14007c75e\ncall    CCTextInputNode__refreshLabel                                  ; +0xc5, 0x14007c765\nmov     rcx, rsi                                                       ; +0xca, 0x14007c76a\nmov     dword ptr [rsi+210h], 3F000000h                                ; +0xcd, 0x14007c76d\ncall    CCTextInputNode__refreshLabel                                  ; +0xd7, 0x14007c777\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xdc, 0x14007c77c\nmov     rax, rsi                                                       ; +0xe1, 0x14007c781\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xe4, 0x14007c784\nadd     rsp, 30h                                                       ; +0xe9, 0x14007c789\npop     rdi                                                            ; +0xed, 0x14007c78d\nretn                                                                   ; +0xee, 0x14007c78e", "xrefs": ["AccountLoginLayer::init @ 0x14007bdb9", "AccountLoginLayer::init @ 0x14007bfb7", "<???> @ 0x1406c67e0", "<???> @ 0x1406c67ec"], "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"}