{"type": "func", "start": 4299792512, "end": 4299792723, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x10049a080 to 0x10049a153 (211 bytes)\n// \n// 0 xrefs:\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// local variable allocation has failed, the output may be wrong!\nCCTextInputNode *__fastcall AccountLoginLayer::createTextInput(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        cocos2d::CCSize a3,\n        const char *a4,\n        int a5)\n{\n  const char *v5; // rcx\n  unsigned int v6; // r8d\n  unsigned int v7; // r15d\n  CCTextInputNode *v8; // rbx\n\n  v7 = v6;\n  v8 = CCTextInputNode::create(\n         **(float **)&a5,\n         *(float *)(*(_QWORD *)&a5 + 4LL) + 10.0,\n         v5,\n         \"Thonburi\",\n         24,\n         \"bigFont.fnt\");\n  ((void (__fastcall *)(cocos2d::CCLayer *, CCTextInputNode *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v8,\n    20);\n  CCTextInputNode::setMaxLabelScale(v8, 0.80000001);\n  v8->m_delegate = &a1->TextInputDelegate;\n  ((void (__fastcall *)(CCTextInputNode *, _QWORD))v8->setTag)(v8, v7);\n  ((void (__fastcall *)(CCTextInputNode *, const char *))v8->setPosition)(v8, a4);\n  ((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v8->m_textField->setVisible)(v8->m_textField, 0);\n  CCTextInputNode::setLabelPlaceholderColor(v8, (cocos2d::ccColor3B)-1004936);\n  CCTextInputNode::setLabelPlaceholderScale(v8, 0.5);\n  return v8;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x10049a080 to 0x10049a153 (211 bytes)\n; \n; 0 xrefs:\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, 0x10049a080\nmov     rbp, rsp                                                       ; +0x1, 0x10049a081\npush    r15                                                            ; +0x4, 0x10049a084\npush    r14                                                            ; +0x6, 0x10049a086\npush    r12                                                            ; +0x8, 0x10049a088\npush    rbx                                                            ; +0xa, 0x10049a08a\nmov     r15d, r8d                                                      ; +0xb, 0x10049a08b\nmov     r14, rsi                                                       ; +0xe, 0x10049a08e\nmov     r12, rdi                                                       ; +0x11, 0x10049a091\nmovss   xmm0, dword ptr [rdx]                                          ; +0x14, 0x10049a094\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x18, 0x10049a098\naddss   xmm1, cs:dword_100814FEC                                       ; +0x1d, 0x10049a09d\nlea     rsi, aThonburi; \"Thonburi\"                                     ; +0x25, 0x10049a0a5\nlea     rax, aBigfontFnt; \"bigFont.fnt\"                                ; +0x2c, 0x10049a0ac\nmov     rdi, rcx                                                       ; +0x33, 0x10049a0b3\nmov     edx, 18h                                                       ; +0x36, 0x10049a0b6\nmov     rcx, rax                                                       ; +0x3b, 0x10049a0bb\ncall    CCTextInputNode__create                                        ; +0x3e, 0x10049a0be\nmov     rbx, rax                                                       ; +0x43, 0x10049a0c3\nmov     rdi, [r12+240h]                                                ; +0x46, 0x10049a0c6\nmov     rax, [rdi]                                                     ; +0x4e, 0x10049a0ce\nmov     rsi, rbx                                                       ; +0x51, 0x10049a0d1\nmov     edx, 14h                                                       ; +0x54, 0x10049a0d4\ncall    qword ptr [rax+1C0h]                                           ; +0x59, 0x10049a0d9\nmovss   xmm0, cs:dword_100814FE4                                       ; +0x5f, 0x10049a0df\nmov     rdi, rbx                                                       ; +0x67, 0x10049a0e7\ncall    CCTextInputNode__setMaxLabelScale                              ; +0x6a, 0x10049a0ea\nadd     r12, 278h                                                      ; +0x6f, 0x10049a0ef\nmov     [rbx+220h], r12                                                ; +0x76, 0x10049a0f6\nmov     rax, [rbx]                                                     ; +0x7d, 0x10049a0fd\nmov     rdi, rbx                                                       ; +0x80, 0x10049a100\nmov     esi, r15d                                                      ; +0x83, 0x10049a103\ncall    qword ptr [rax+48h]                                            ; +0x86, 0x10049a106\nmov     rax, [rbx]                                                     ; +0x89, 0x10049a109\nmov     rdi, rbx                                                       ; +0x8c, 0x10049a10c\nmov     rsi, r14                                                       ; +0x8f, 0x10049a10f\ncall    qword ptr [rax+0B8h]                                           ; +0x92, 0x10049a112\nmov     rdi, [rbx+218h]                                                ; +0x98, 0x10049a118\nmov     rax, [rdi]                                                     ; +0x9f, 0x10049a11f\nxor     esi, esi                                                       ; +0xa2, 0x10049a122\ncall    qword ptr [rax+148h]                                           ; +0xa4, 0x10049a124\nmov     rdi, rbx                                                       ; +0xaa, 0x10049a12a\nmov     esi, 0F0AA78h                                                  ; +0xad, 0x10049a12d\ncall    CCTextInputNode__setLabelPlaceholderColor                      ; +0xb2, 0x10049a132\nmovss   xmm0, cs:dword_100814FA8                                       ; +0xb7, 0x10049a137\nmov     rdi, rbx                                                       ; +0xbf, 0x10049a13f\ncall    CCTextInputNode__setLabelPlaceholderScale                      ; +0xc2, 0x10049a142\nmov     rax, rbx                                                       ; +0xc7, 0x10049a147\npop     rbx                                                            ; +0xca, 0x10049a14a\npop     r12                                                            ; +0xcb, 0x10049a14b\npop     r14                                                            ; +0xcd, 0x10049a14d\npop     r15                                                            ; +0xcf, 0x10049a14f\npop     rbp                                                            ; +0xd1, 0x10049a151\nretn                                                                   ; +0xd2, 0x10049a152", "xrefs": [], "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"}