{"type": "func", "start": 4295499912, "end": 4295500164, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x100082088 to 0x100082184 (252 bytes)\n// \n// 5 xrefs:\n// > AccountRegisterLayer::init @ 0x100081360\n// > AccountRegisterLayer::init @ 0x100081490\n// > AccountRegisterLayer::init @ 0x1000815d0\n// > AccountRegisterLayer::init @ 0x100081718\n// > AccountRegisterLayer::init @ 0x10008184c\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        __int64 a5)\n{\n  const char *v6; // x8\n  CCTextInputNode *v9; // x22\n\n  v6 = (const char *)a4;\n  if ( *(char *)(a4 + 23) < 0 )\n    v6 = *(const char **)a4;\n  v9 = 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    v9,\n    20);\n  CCTextInputNode::setMaxLabelScale(v9, 0.8);\n  v9->m_delegate = a1 + 79;\n  ((void (__fastcall *)(CCTextInputNode *, __int64))v9->setTag)(v9, a5);\n  ((void (__fastcall *)(CCTextInputNode *, __int64))v9->setPosition)(v9, a2);\n  ((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v9->m_textField->setVisible)(v9->m_textField, 0);\n  CCTextInputNode::setLabelPlaceholderColor(v9, (cocos2d::ccColor3B)-1004936);\n  CCTextInputNode::setLabelPlaceholderScale(v9, 0.5);\n  return v9;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x100082088 to 0x100082184 (252 bytes)\n; \n; 5 xrefs:\n; > AccountRegisterLayer::init @ 0x100081360\n; > AccountRegisterLayer::init @ 0x100081490\n; > AccountRegisterLayer::init @ 0x1000815d0\n; > AccountRegisterLayer::init @ 0x100081718\n; > AccountRegisterLayer::init @ 0x10008184c\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100082088\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10008208c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100082090\nADD             X29, SP, #0x20                                         ; +0xc, 0x100082094\nMOV             X20, X4                                                ; +0x10, 0x100082098\nMOV             X8, X3                                                 ; +0x14, 0x10008209c\nMOV             X19, X1                                                ; +0x18, 0x1000820a0\nMOV             X21, X0                                                ; +0x1c, 0x1000820a4\nLDP             S0, S1, [X2]                                           ; +0x20, 0x1000820a8\nLDRSB           W9, [X3,#0x17]                                         ; +0x24, 0x1000820ac\nTBZ             W9, #0x1F, loc_1000820B8                               ; +0x28, 0x1000820b0\nLDR             X8, [X8]                                               ; +0x2c, 0x1000820b4\nFMOV            S2, #10.0                                              ; +0x30, 0x1000820b8\nFADD            S1, S1, S2                                             ; +0x34, 0x1000820bc\nFMOV            S2, #-20.0                                             ; +0x38, 0x1000820c0\nFADD            S0, S0, S2                                             ; +0x3c, 0x1000820c4\nADRL            X1, aThonburi; \"Thonburi\"                              ; +0x40, 0x1000820c8\nADRL            X3, aBigfontFnt; \"bigFont.fnt\"                         ; +0x48, 0x1000820d0\nMOV             X0, X8                                                 ; +0x50, 0x1000820d8\nMOV             W2, #0x18                                              ; +0x54, 0x1000820dc\nBL              CCTextInputNode__create                                ; +0x58, 0x1000820e0\nMOV             X22, X0                                                ; +0x5c, 0x1000820e4\nLDR             X0, [X21,#0x240]                                       ; +0x60, 0x1000820e8\nLDR             X8, [X0]                                               ; +0x64, 0x1000820ec\nLDR             X8, [X8,#0x1C0]                                        ; +0x68, 0x1000820f0\nMOV             X1, X22                                                ; +0x6c, 0x1000820f4\nMOV             W2, #0x14                                              ; +0x70, 0x1000820f8\nBLR             X8                                                     ; +0x74, 0x1000820fc\nADRP            X8, #dword_100635340@PAGE                              ; +0x78, 0x100082100\nLDR             S0, [X8,#dword_100635340@PAGEOFF]                      ; +0x7c, 0x100082104\nMOV             X0, X22                                                ; +0x80, 0x100082108\nBL              CCTextInputNode__setMaxLabelScale                      ; +0x84, 0x10008210c\nADD             X8, X21, #0x278                                        ; +0x88, 0x100082110\nSTR             X8, [X22,#0x220]                                       ; +0x8c, 0x100082114\nLDR             X8, [X22]                                              ; +0x90, 0x100082118\nLDR             X8, [X8,#0x48]                                         ; +0x94, 0x10008211c\nMOV             X0, X22                                                ; +0x98, 0x100082120\nMOV             X1, X20                                                ; +0x9c, 0x100082124\nBLR             X8                                                     ; +0xa0, 0x100082128\nLDR             X8, [X22]                                              ; +0xa4, 0x10008212c\nLDR             X8, [X8,#0xB8]                                         ; +0xa8, 0x100082130\nMOV             X0, X22                                                ; +0xac, 0x100082134\nMOV             X1, X19                                                ; +0xb0, 0x100082138\nBLR             X8                                                     ; +0xb4, 0x10008213c\nLDR             X0, [X22,#0x218]                                       ; +0xb8, 0x100082140\nLDR             X8, [X0]                                               ; +0xbc, 0x100082144\nLDR             X8, [X8,#0x148]                                        ; +0xc0, 0x100082148\nMOV             W1, #0                                                 ; +0xc4, 0x10008214c\nBLR             X8                                                     ; +0xc8, 0x100082150\nMOV             X0, X22                                                ; +0xcc, 0x100082154\nMOV             W1, #0xF0AA78                                          ; +0xd0, 0x100082158\nBL              CCTextInputNode__setLabelPlaceholderColor              ; +0xd8, 0x100082160\nFMOV            S0, #0.5                                               ; +0xdc, 0x100082164\nMOV             X0, X22                                                ; +0xe0, 0x100082168\nBL              CCTextInputNode__setLabelPlaceholderScale              ; +0xe4, 0x10008216c\nMOV             X0, X22                                                ; +0xe8, 0x100082170\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xec, 0x100082174\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xf0, 0x100082178\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xf4, 0x10008217c\nRET                                                                    ; +0xf8, 0x100082180", "xrefs": ["AccountRegisterLayer::init @ 0x100081360", "AccountRegisterLayer::init @ 0x100081490", "AccountRegisterLayer::init @ 0x1000815d0", "AccountRegisterLayer::init @ 0x100081718", "AccountRegisterLayer::init @ 0x10008184c"], "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"}