{"type": "func", "start": 4299780336, "end": 4299780569, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x1004970f0 to 0x1004971d9 (233 bytes)\n// \n// 5 xrefs:\n// > AccountRegisterLayer::init @ 0x1004959c5\n// > AccountRegisterLayer::init @ 0x100495bfa\n// > AccountRegisterLayer::init @ 0x100495e5a\n// > AccountRegisterLayer::init @ 0x1004960c6\n// > AccountRegisterLayer::init @ 0x100496326\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 *__fastcall AccountRegisterLayer::createTextInput(\n        TextInputDelegate *a1,\n        __int64 a2,\n        float *a3,\n        __int64 a4,\n        unsigned int a5)\n{\n  const char *v6; // rcx\n  CCTextInputNode *v7; // r15\n\n  if ( (*(_BYTE *)a4 & 1) != 0 )\n    v6 = *(const char **)(a4 + 16);\n  else\n    v6 = (const char *)(a4 + 1);\n  v7 = CCTextInputNode::create(*a3 + -20.0, a3[1] + 10.0, v6, \"Thonburi\", 24, \"bigFont.fnt\");\n  (*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, __int64))a1[72].textChanged + 56))(\n    a1[72].__vftable,\n    v7,\n    20);\n  CCTextInputNode::setMaxLabelScale(v7, 0.80000001);\n  v7->m_delegate = a1 + 79;\n  ((void (__fastcall *)(CCTextInputNode *, _QWORD))v7->setTag)(v7, a5);\n  ((void (__fastcall *)(CCTextInputNode *, __int64))v7->setPosition)(v7, a2);\n  ((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v7->m_textField->setVisible)(v7->m_textField, 0);\n  CCTextInputNode::setLabelPlaceholderColor(v7, (cocos2d::ccColor3B)-1004936);\n  CCTextInputNode::setLabelPlaceholderScale(v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x1004970f0 to 0x1004971d9 (233 bytes)\n; \n; 5 xrefs:\n; > AccountRegisterLayer::init @ 0x1004959c5\n; > AccountRegisterLayer::init @ 0x100495bfa\n; > AccountRegisterLayer::init @ 0x100495e5a\n; > AccountRegisterLayer::init @ 0x1004960c6\n; > AccountRegisterLayer::init @ 0x100496326\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    rbp                                                            ; +0x0, 0x1004970f0\nmov     rbp, rsp                                                       ; +0x1, 0x1004970f1\npush    r15                                                            ; +0x4, 0x1004970f4\npush    r14                                                            ; +0x6, 0x1004970f6\npush    r12                                                            ; +0x8, 0x1004970f8\npush    rbx                                                            ; +0xa, 0x1004970fa\nmov     r14d, r8d                                                      ; +0xb, 0x1004970fb\nmov     rbx, rsi                                                       ; +0xe, 0x1004970fe\nmov     r12, rdi                                                       ; +0x11, 0x100497101\nmovss   xmm0, dword ptr [rdx]                                          ; +0x14, 0x100497104\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x18, 0x100497108\ntest    byte ptr [rcx], 1                                              ; +0x1d, 0x10049710d\njnz     short loc_100497117                                            ; +0x20, 0x100497110\ninc     rcx                                                            ; +0x22, 0x100497112\njmp     short loc_10049711B                                            ; +0x25, 0x100497115\nmov     rcx, [rcx+10h]                                                 ; +0x27, 0x100497117\naddss   xmm1, cs:dword_100814FEC                                       ; +0x2b, 0x10049711b\naddss   xmm0, cs:dword_100815074                                       ; +0x33, 0x100497123\nlea     rsi, aThonburi; \"Thonburi\"                                     ; +0x3b, 0x10049712b\nlea     rax, aBigfontFnt; \"bigFont.fnt\"                                ; +0x42, 0x100497132\nmov     rdi, rcx                                                       ; +0x49, 0x100497139\nmov     edx, 18h                                                       ; +0x4c, 0x10049713c\nmov     rcx, rax                                                       ; +0x51, 0x100497141\ncall    CCTextInputNode__create                                        ; +0x54, 0x100497144\nmov     r15, rax                                                       ; +0x59, 0x100497149\nmov     rdi, [r12+240h]                                                ; +0x5c, 0x10049714c\nmov     rax, [rdi]                                                     ; +0x64, 0x100497154\nmov     rsi, r15                                                       ; +0x67, 0x100497157\nmov     edx, 14h                                                       ; +0x6a, 0x10049715a\ncall    qword ptr [rax+1C0h]                                           ; +0x6f, 0x10049715f\nmovss   xmm0, cs:dword_100814FE4                                       ; +0x75, 0x100497165\nmov     rdi, r15                                                       ; +0x7d, 0x10049716d\ncall    CCTextInputNode__setMaxLabelScale                              ; +0x80, 0x100497170\nadd     r12, 278h                                                      ; +0x85, 0x100497175\nmov     [r15+220h], r12                                                ; +0x8c, 0x10049717c\nmov     rax, [r15]                                                     ; +0x93, 0x100497183\nmov     rdi, r15                                                       ; +0x96, 0x100497186\nmov     esi, r14d                                                      ; +0x99, 0x100497189\ncall    qword ptr [rax+48h]                                            ; +0x9c, 0x10049718c\nmov     rax, [r15]                                                     ; +0x9f, 0x10049718f\nmov     rdi, r15                                                       ; +0xa2, 0x100497192\nmov     rsi, rbx                                                       ; +0xa5, 0x100497195\ncall    qword ptr [rax+0B8h]                                           ; +0xa8, 0x100497198\nmov     rdi, [r15+218h]                                                ; +0xae, 0x10049719e\nmov     rax, [rdi]                                                     ; +0xb5, 0x1004971a5\nxor     esi, esi                                                       ; +0xb8, 0x1004971a8\ncall    qword ptr [rax+148h]                                           ; +0xba, 0x1004971aa\nmov     rdi, r15                                                       ; +0xc0, 0x1004971b0\nmov     esi, 0F0AA78h                                                  ; +0xc3, 0x1004971b3\ncall    CCTextInputNode__setLabelPlaceholderColor                      ; +0xc8, 0x1004971b8\nmovss   xmm0, cs:dword_100814FA8                                       ; +0xcd, 0x1004971bd\nmov     rdi, r15                                                       ; +0xd5, 0x1004971c5\ncall    CCTextInputNode__setLabelPlaceholderScale                      ; +0xd8, 0x1004971c8\nmov     rax, r15                                                       ; +0xdd, 0x1004971cd\npop     rbx                                                            ; +0xe0, 0x1004971d0\npop     r12                                                            ; +0xe1, 0x1004971d1\npop     r14                                                            ; +0xe3, 0x1004971d3\npop     r15                                                            ; +0xe5, 0x1004971d5\npop     rbp                                                            ; +0xe7, 0x1004971d7\nretn                                                                   ; +0xe8, 0x1004971d8", "xrefs": ["AccountRegisterLayer::init @ 0x1004959c5", "AccountRegisterLayer::init @ 0x100495bfa", "AccountRegisterLayer::init @ 0x100495e5a", "AccountRegisterLayer::init @ 0x1004960c6", "AccountRegisterLayer::init @ 0x100496326"], "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"}