{"type": "func", "start": 4295507312, "end": 4295507544, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x100083d70 to 0x100083e58 (232 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x10008350c\n// > AccountLoginLayer::init @ 0x100083644\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; // x3\n  __int64 v6; // x4\n  __int64 v7; // x19\n  CCTextInputNode *v10; // x22\n\n  v7 = v6;\n  v10 = 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    v10,\n    20);\n  CCTextInputNode::setMaxLabelScale(v10, 0.8);\n  v10->m_delegate = &a1->TextInputDelegate;\n  ((void (__fastcall *)(CCTextInputNode *, __int64))v10->setTag)(v10, v7);\n  ((void (__fastcall *)(CCTextInputNode *, const char *))v10->setPosition)(v10, a4);\n  ((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v10->m_textField->setVisible)(v10->m_textField, 0);\n  CCTextInputNode::setLabelPlaceholderColor(v10, (cocos2d::ccColor3B)-1004936);\n  CCTextInputNode::setLabelPlaceholderScale(v10, 0.5);\n  return v10;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x100083d70 to 0x100083e58 (232 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x10008350c\n; > AccountLoginLayer::init @ 0x100083644\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, 0x100083d70\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100083d74\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100083d78\nADD             X29, SP, #0x20                                         ; +0xc, 0x100083d7c\nMOV             X19, X4                                                ; +0x10, 0x100083d80\nMOV             X8, X3                                                 ; +0x14, 0x100083d84\nMOV             X20, X1                                                ; +0x18, 0x100083d88\nMOV             X21, X0                                                ; +0x1c, 0x100083d8c\nLDP             S0, S1, [X2]                                           ; +0x20, 0x100083d90\nFMOV            S2, #10.0                                              ; +0x24, 0x100083d94\nFADD            S1, S1, S2                                             ; +0x28, 0x100083d98\nADRL            X1, aThonburi; \"Thonburi\"                              ; +0x2c, 0x100083d9c\nADRL            X3, aBigfontFnt; \"bigFont.fnt\"                         ; +0x34, 0x100083da4\nMOV             X0, X8                                                 ; +0x3c, 0x100083dac\nMOV             W2, #0x18                                              ; +0x40, 0x100083db0\nBL              CCTextInputNode__create                                ; +0x44, 0x100083db4\nMOV             X22, X0                                                ; +0x48, 0x100083db8\nLDR             X0, [X21,#0x240]                                       ; +0x4c, 0x100083dbc\nLDR             X8, [X0]                                               ; +0x50, 0x100083dc0\nLDR             X8, [X8,#0x1C0]                                        ; +0x54, 0x100083dc4\nMOV             X1, X22                                                ; +0x58, 0x100083dc8\nMOV             W2, #0x14                                              ; +0x5c, 0x100083dcc\nBLR             X8                                                     ; +0x60, 0x100083dd0\nADRP            X8, #dword_100635340@PAGE                              ; +0x64, 0x100083dd4\nLDR             S0, [X8,#dword_100635340@PAGEOFF]                      ; +0x68, 0x100083dd8\nMOV             X0, X22                                                ; +0x6c, 0x100083ddc\nBL              CCTextInputNode__setMaxLabelScale                      ; +0x70, 0x100083de0\nADD             X8, X21, #0x278                                        ; +0x74, 0x100083de4\nSTR             X8, [X22,#0x220]                                       ; +0x78, 0x100083de8\nLDR             X8, [X22]                                              ; +0x7c, 0x100083dec\nLDR             X8, [X8,#0x48]                                         ; +0x80, 0x100083df0\nMOV             X0, X22                                                ; +0x84, 0x100083df4\nMOV             X1, X19                                                ; +0x88, 0x100083df8\nBLR             X8                                                     ; +0x8c, 0x100083dfc\nLDR             X8, [X22]                                              ; +0x90, 0x100083e00\nLDR             X8, [X8,#0xB8]                                         ; +0x94, 0x100083e04\nMOV             X0, X22                                                ; +0x98, 0x100083e08\nMOV             X1, X20                                                ; +0x9c, 0x100083e0c\nBLR             X8                                                     ; +0xa0, 0x100083e10\nLDR             X0, [X22,#0x218]                                       ; +0xa4, 0x100083e14\nLDR             X8, [X0]                                               ; +0xa8, 0x100083e18\nLDR             X8, [X8,#0x148]                                        ; +0xac, 0x100083e1c\nMOV             W1, #0                                                 ; +0xb0, 0x100083e20\nBLR             X8                                                     ; +0xb4, 0x100083e24\nMOV             X0, X22                                                ; +0xb8, 0x100083e28\nMOV             W1, #0xF0AA78                                          ; +0xbc, 0x100083e2c\nBL              CCTextInputNode__setLabelPlaceholderColor              ; +0xc4, 0x100083e34\nFMOV            S0, #0.5                                               ; +0xc8, 0x100083e38\nMOV             X0, X22                                                ; +0xcc, 0x100083e3c\nBL              CCTextInputNode__setLabelPlaceholderScale              ; +0xd0, 0x100083e40\nMOV             X0, X22                                                ; +0xd4, 0x100083e44\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xd8, 0x100083e48\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xdc, 0x100083e4c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xe0, 0x100083e50\nRET                                                                    ; +0xe4, 0x100083e54", "xrefs": ["AccountLoginLayer::init @ 0x10008350c", "AccountLoginLayer::init @ 0x100083644"], "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"}