{"type": "func", "start": 10025024, "end": 10025308, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x98f840 to 0x98f95c (284 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x990cac\n// > AccountRegisterLayer::init @ 0x990ee4\n// > AccountRegisterLayer::init @ 0x991040\n// > AccountRegisterLayer::init @ 0x9911a0\n// > AccountRegisterLayer::init @ 0x9912ec\n// > <???> @ 0x7cc60\n// \n// This function is hookable on this platform (idp: arm, 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:57:58 +0000\n// \n\n__int64 __fastcall AccountRegisterLayer::createTextInput(\n        __int64 a1,\n        __int64 a2,\n        float *a3,\n        CCTextInputNode *this,\n        const char *a5)\n{\n  CCTextInputNode *v6; // x5\n  __int64 v7; // x20\n  __int64 v8; // x19\n  unsigned int v10; // [xsp+38h] [xbp+38h]\n  int v11; // [xsp+48h] [xbp+48h]\n\n  v6 = (CCTextInputNode *)((char *)this + 1);\n  if ( (*(_BYTE *)this & 1) != 0 )\n    v6 = *((CCTextInputNode **)this + 2);\n  v10 = (unsigned int)a5;\n  v7 = a1 + 544;\n  v8 = CCTextInputNode::create(v6, *a3 - 20.0, a3[1] + 10.0, \"Thonburi\", (const char *)&off_18, \"bigFont.fnt\", a5);\n  (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v7 + 40) + 464LL))(*(_QWORD *)(v7 + 40), v8, 20);\n  CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v8, 0.8);\n  *(_QWORD *)(v8 + 584) = v7;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 72LL))(v8, v10);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, a2);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v8 + 576) + 344LL))(*(_QWORD *)(v8 + 576), 0);\n  LOWORD(v11) = -21896;\n  BYTE2(v11) = -16;\n  CCTextInputNode::setLabelPlaceholderColor(v8, v11);\n  CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v8, 0.5);\n  return v8;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x98f840 to 0x98f95c (284 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x990cac\n; > AccountRegisterLayer::init @ 0x990ee4\n; > AccountRegisterLayer::init @ 0x991040\n; > AccountRegisterLayer::init @ 0x9911a0\n; > AccountRegisterLayer::init @ 0x9912ec\n; > <???> @ 0x7cc60\n; \n; This function is hookable on this platform (idp: arm, 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:57:58 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x98f840\nMOV             X5, X3                                                 ; +0x4, 0x98f844\nMOV             X29, SP                                                ; +0x8, 0x98f848\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x98f84c\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x98f850\nMOV             X20, X0                                                ; +0x14, 0x98f854\nFMOV            S2, #20.0                                              ; +0x18, 0x98f858\nMOV             X21, X1                                                ; +0x1c, 0x98f85c\nLDR             S0, [X2]                                               ; +0x20, 0x98f860\nLDRB            W0, [X5],#1                                            ; +0x24, 0x98f864\nLDR             S1, [X2,#4]                                            ; +0x28, 0x98f868\nFSUB            S0, S0, S2; float                                      ; +0x2c, 0x98f86c\nFMOV            S2, #10.0                                              ; +0x30, 0x98f870\nFADD            S1, S1, S2; float                                      ; +0x34, 0x98f874\nTBZ             W0, #0, loc_98F880                                     ; +0x38, 0x98f878\nLDR             X5, [X3,#0x10]                                         ; +0x3c, 0x98f87c\nADRP            X3, #aBigfontFnt@PAGE; \"bigFont.fnt\"                   ; +0x40, 0x98f880\nADRP            X1, #aThonburi@PAGE; \"Thonburi\"                        ; +0x44, 0x98f884\nMOV             X0, X5; this                                           ; +0x48, 0x98f888\nADD             X3, X3, #aBigfontFnt@PAGEOFF; \"bigFont.fnt\"            ; +0x4c, 0x98f88c\nADD             X1, X1, #aThonburi@PAGEOFF; \"Thonburi\"                 ; +0x50, 0x98f890\nMOV             W2, #off_18; char *                                    ; +0x54, 0x98f894\nSTR             X4, [X29,#0x50+var_18]                                 ; +0x58, 0x98f898\nADD             X20, X20, #0x220                                       ; +0x5c, 0x98f89c\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0x60, 0x98f8a0\nMOV             X19, X0                                                ; +0x64, 0x98f8a4\nLDR             X3, [X20,#0x28]                                        ; +0x68, 0x98f8a8\nMOV             X1, X0                                                 ; +0x6c, 0x98f8ac\nMOV             W2, #0x14                                              ; +0x70, 0x98f8b0\nMOV             X0, X3                                                 ; +0x74, 0x98f8b4\nLDR             X3, [X3]                                               ; +0x78, 0x98f8b8\nLDR             X3, [X3,#0x1D0]                                        ; +0x7c, 0x98f8bc\nBLR             X3                                                     ; +0x80, 0x98f8c0\nLDR             S0, flt_98F95C; float                                  ; +0x84, 0x98f8c4\nMOV             X0, X19; this                                          ; +0x88, 0x98f8c8\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0x8c, 0x98f8cc\nSTR             X20, [X19,#0x248]                                      ; +0x90, 0x98f8d0\nLDR             X2, [X19]                                              ; +0x94, 0x98f8d4\nMOV             X0, X19                                                ; +0x98, 0x98f8d8\nLDR             X4, [X29,#0x50+var_18]                                 ; +0x9c, 0x98f8dc\nLDR             X2, [X2,#0x48]                                         ; +0xa0, 0x98f8e0\nMOV             W1, W4                                                 ; +0xa4, 0x98f8e4\nBLR             X2                                                     ; +0xa8, 0x98f8e8\nLDR             X2, [X19]                                              ; +0xac, 0x98f8ec\nMOV             X0, X19                                                ; +0xb0, 0x98f8f0\nMOV             X1, X21                                                ; +0xb4, 0x98f8f4\nLDR             X2, [X2,#0xB8]                                         ; +0xb8, 0x98f8f8\nBLR             X2                                                     ; +0xbc, 0x98f8fc\nLDR             X2, [X19,#0x240]                                       ; +0xc0, 0x98f900\nMOV             W1, #0                                                 ; +0xc4, 0x98f904\nMOV             X0, X2                                                 ; +0xc8, 0x98f908\nLDR             X2, [X2]                                               ; +0xcc, 0x98f90c\nLDR             X2, [X2,#0x158]                                        ; +0xd0, 0x98f910\nBLR             X2                                                     ; +0xd4, 0x98f914\nMOV             W0, #0x78 ; 'x'                                        ; +0xd8, 0x98f918\nSTRB            W0, [X29,#0x50+var_8]                                  ; +0xdc, 0x98f91c\nMOV             W0, #0xFFFFFFAA                                        ; +0xe0, 0x98f920\nSTRB            W0, [X29,#0x50+var_8+1]                                ; +0xe4, 0x98f924\nMOV             W0, #0xFFFFFFF0                                        ; +0xe8, 0x98f928\nSTRB            W0, [X29,#0x50+var_8+2]                                ; +0xec, 0x98f92c\nMOV             X0, X19                                                ; +0xf0, 0x98f930\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xf4, 0x98f934\nBL              _ZN15CCTextInputNode24setLabelPlaceholderColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelPlaceholderColor(cocos2d::_ccColor3B) ; +0xf8, 0x98f938\nMOV             X0, X19; this                                          ; +0xfc, 0x98f93c\nFMOV            S0, #0.5; float                                        ; +0x100, 0x98f940\nBL              _ZN15CCTextInputNode24setLabelPlaceholderScaleEf; CCTextInputNode::setLabelPlaceholderScale(float) ; +0x104, 0x98f944\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x108, 0x98f948\nMOV             X0, X19                                                ; +0x10c, 0x98f94c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x110, 0x98f950\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x114, 0x98f954\nRET                                                                    ; +0x118, 0x98f958", "xrefs": ["AccountRegisterLayer::init @ 0x990cac", "AccountRegisterLayer::init @ 0x990ee4", "AccountRegisterLayer::init @ 0x991040", "AccountRegisterLayer::init @ 0x9911a0", "AccountRegisterLayer::init @ 0x9912ec", "<???> @ 0x7cc60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}