{"type": "func", "start": 4299743360, "end": 4299743593, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x10048e080 to 0x10048e169 (233 bytes)\n// \n// 5 xrefs:\n// > AccountRegisterLayer::init @ 0x10048ca02\n// > AccountRegisterLayer::init @ 0x10048cd2a\n// > AccountRegisterLayer::init @ 0x10048cf24\n// > AccountRegisterLayer::init @ 0x10048d12e\n// > AccountRegisterLayer::init @ 0x10048d38e\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:45 +0000\n// \n\n_QWORD *__fastcall AccountRegisterLayer::createTextInput(\n        __int64 a1,\n        __int64 a2,\n        float *a3,\n        __int64 a4,\n        unsigned int a5)\n{\n  __int64 v6; // rcx\n  _QWORD *v7; // r15\n\n  if ( (*(_BYTE *)a4 & 1) != 0 )\n    v6 = *(_QWORD *)(a4 + 16);\n  else\n    v6 = a4 + 1;\n  v7 = CCTextInputNode::create(v6, (__int64)\"Thonburi\", 0x18u, (__int64)\"bigFont.fnt\", *a3 + -20.0, a3[1] + 10.0);\n  (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v7, 20);\n  CCTextInputNode::setMaxLabelScale((__int64)v7, 0.80000001);\n  v7[73] = a1 + 544;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*v7 + 72LL))(v7, a5);\n  (*(void (__fastcall **)(_QWORD *, __int64))(*v7 + 184LL))(v7, a2);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7[72] + 344LL))(v7[72], 0);\n  CCTextInputNode::setLabelPlaceholderColor((__int64)v7, 15772280);\n  CCTextInputNode::setLabelPlaceholderScale((__int64)v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x10048e080 to 0x10048e169 (233 bytes)\n; \n; 5 xrefs:\n; > AccountRegisterLayer::init @ 0x10048ca02\n; > AccountRegisterLayer::init @ 0x10048cd2a\n; > AccountRegisterLayer::init @ 0x10048cf24\n; > AccountRegisterLayer::init @ 0x10048d12e\n; > AccountRegisterLayer::init @ 0x10048d38e\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x10048e080\nmov     rbp, rsp                                                       ; +0x1, 0x10048e081\npush    r15                                                            ; +0x4, 0x10048e084\npush    r14                                                            ; +0x6, 0x10048e086\npush    r12                                                            ; +0x8, 0x10048e088\npush    rbx                                                            ; +0xa, 0x10048e08a\nmov     r14d, r8d                                                      ; +0xb, 0x10048e08b\nmov     rbx, rsi                                                       ; +0xe, 0x10048e08e\nmov     r12, rdi                                                       ; +0x11, 0x10048e091\nmovss   xmm0, dword ptr [rdx]                                          ; +0x14, 0x10048e094\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x18, 0x10048e098\ntest    byte ptr [rcx], 1                                              ; +0x1d, 0x10048e09d\njnz     short loc_10048E0A7                                            ; +0x20, 0x10048e0a0\ninc     rcx                                                            ; +0x22, 0x10048e0a2\njmp     short loc_10048E0AB                                            ; +0x25, 0x10048e0a5\nmov     rcx, [rcx+10h]                                                 ; +0x27, 0x10048e0a7\naddss   xmm1, cs:dword_100A035BC                                       ; +0x2b, 0x10048e0ab\naddss   xmm0, cs:dword_100A03598                                       ; +0x33, 0x10048e0b3\nlea     rsi, aThonburi; \"Thonburi\"                                     ; +0x3b, 0x10048e0bb\nlea     rax, aBigfontFnt; \"bigFont.fnt\"                                ; +0x42, 0x10048e0c2\nmov     rdi, rcx                                                       ; +0x49, 0x10048e0c9\nmov     edx, 18h                                                       ; +0x4c, 0x10048e0cc\nmov     rcx, rax                                                       ; +0x51, 0x10048e0d1\ncall    CCTextInputNode__create                                        ; +0x54, 0x10048e0d4\nmov     r15, rax                                                       ; +0x59, 0x10048e0d9\nmov     rdi, [r12+248h]                                                ; +0x5c, 0x10048e0dc\nmov     rax, [rdi]                                                     ; +0x64, 0x10048e0e4\nmov     rsi, r15                                                       ; +0x67, 0x10048e0e7\nmov     edx, 14h                                                       ; +0x6a, 0x10048e0ea\ncall    qword ptr [rax+1D0h]                                           ; +0x6f, 0x10048e0ef\nmovss   xmm0, cs:dword_100A03588                                       ; +0x75, 0x10048e0f5\nmov     rdi, r15                                                       ; +0x7d, 0x10048e0fd\ncall    CCTextInputNode__setMaxLabelScale                              ; +0x80, 0x10048e100\nadd     r12, 220h                                                      ; +0x85, 0x10048e105\nmov     [r15+248h], r12                                                ; +0x8c, 0x10048e10c\nmov     rax, [r15]                                                     ; +0x93, 0x10048e113\nmov     rdi, r15                                                       ; +0x96, 0x10048e116\nmov     esi, r14d                                                      ; +0x99, 0x10048e119\ncall    qword ptr [rax+48h]                                            ; +0x9c, 0x10048e11c\nmov     rax, [r15]                                                     ; +0x9f, 0x10048e11f\nmov     rdi, r15                                                       ; +0xa2, 0x10048e122\nmov     rsi, rbx                                                       ; +0xa5, 0x10048e125\ncall    qword ptr [rax+0B8h]                                           ; +0xa8, 0x10048e128\nmov     rdi, [r15+240h]                                                ; +0xae, 0x10048e12e\nmov     rax, [rdi]                                                     ; +0xb5, 0x10048e135\nxor     esi, esi                                                       ; +0xb8, 0x10048e138\ncall    qword ptr [rax+158h]                                           ; +0xba, 0x10048e13a\nmov     rdi, r15                                                       ; +0xc0, 0x10048e140\nmov     esi, 0F0AA78h                                                  ; +0xc3, 0x10048e143\ncall    CCTextInputNode__setLabelPlaceholderColor                      ; +0xc8, 0x10048e148\nmovss   xmm0, cs:dword_100A03578                                       ; +0xcd, 0x10048e14d\nmov     rdi, r15                                                       ; +0xd5, 0x10048e155\ncall    CCTextInputNode__setLabelPlaceholderScale                      ; +0xd8, 0x10048e158\nmov     rax, r15                                                       ; +0xdd, 0x10048e15d\npop     rbx                                                            ; +0xe0, 0x10048e160\npop     r12                                                            ; +0xe1, 0x10048e161\npop     r14                                                            ; +0xe3, 0x10048e163\npop     r15                                                            ; +0xe5, 0x10048e165\npop     rbp                                                            ; +0xe7, 0x10048e167\nretn                                                                   ; +0xe8, 0x10048e168", "xrefs": ["AccountRegisterLayer::init @ 0x10048ca02", "AccountRegisterLayer::init @ 0x10048cd2a", "AccountRegisterLayer::init @ 0x10048cf24", "AccountRegisterLayer::init @ 0x10048d12e", "AccountRegisterLayer::init @ 0x10048d38e"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}