{"type": "func", "start": 4295277372, "end": 4295277528, "name": "GameToolbox::createInputNode", "pseudocode": "// \n// GameToolbox::createInputNode from 0x10004bb3c to 0x10004bbd8 (156 bytes)\n// \n// 11 xrefs:\n// > FRequestProfilePage::init @ 0x10024afd4\n// > FriendsProfilePage::init @ 0x1002718a4\n// > MessageThreadsPage::init @ 0x1004f4304\n// > FriendPickerPopup::init @ 0x1005033c4\n// > sub_1005048D8 @ 0x100504bb4\n// > sub_100508F28 @ 0x100509a44\n// > InvitesPopup::init @ 0x10050e9f0\n// > sub_100510CBC @ 0x100510fa0\n// > ThreadSearchPopup::init @ 0x100511c18\n// > sub_1005401F4 @ 0x1005406ac\n// > sub_10054BC54 @ 0x10054c104\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 10:57:41 +0000\n// \n\n__int64 __fastcall GameToolbox::createInputNode(__int64 a1, int a2, float a3, float a4)\n{\n  __int64 v6; // x20\n\n  v6 = CCTextInputNode::create(a1, \"Thonburi\", 24, \"chatFont.fnt\", a3, a4);\n  CCTextInputNode::setMaxLabelScale(v6, 0.7);\n  CCTextInputNode::setMaxLabelWidth(v6, a3 + -8.0);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v6 + 576) + 344LL))(*(_QWORD *)(v6 + 576), 0);\n  *(_DWORD *)(v6 + 592) = a2;\n  CCTextInputNode::setLabelPlaceholderColor(v6, 4287683);\n  CCTextInputNode::setLabelPlaceholderScale(v6, 0.7);\n  return v6;\n}", "assembly": "; \n; GameToolbox::createInputNode from 0x10004bb3c to 0x10004bbd8 (156 bytes)\n; \n; 11 xrefs:\n; > FRequestProfilePage::init @ 0x10024afd4\n; > FriendsProfilePage::init @ 0x1002718a4\n; > MessageThreadsPage::init @ 0x1004f4304\n; > FriendPickerPopup::init @ 0x1005033c4\n; > sub_1005048D8 @ 0x100504bb4\n; > sub_100508F28 @ 0x100509a44\n; > InvitesPopup::init @ 0x10050e9f0\n; > sub_100510CBC @ 0x100510fa0\n; > ThreadSearchPopup::init @ 0x100511c18\n; > sub_1005401F4 @ 0x1005406ac\n; > sub_10054BC54 @ 0x10054c104\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 10:57:41 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10004bb3c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10004bb40\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10004bb44\nADD             X29, SP, #0x20                                         ; +0xc, 0x10004bb48\nMOV             X19, X1                                                ; +0x10, 0x10004bb4c\nFMOV            S8, S0                                                 ; +0x14, 0x10004bb50\nADRL            X1, aThonburi; \"Thonburi\"                              ; +0x18, 0x10004bb54\nADRL            X3, aChatfontFnt; \"chatFont.fnt\"                       ; +0x20, 0x10004bb5c\nMOV             W2, #0x18                                              ; +0x28, 0x10004bb64\nBL              CCTextInputNode__create                                ; +0x2c, 0x10004bb68\nMOV             X20, X0                                                ; +0x30, 0x10004bb6c\nADRP            X8, #dword_10075BD20@PAGE                              ; +0x34, 0x10004bb70\nLDR             S9, [X8,#dword_10075BD20@PAGEOFF]                      ; +0x38, 0x10004bb74\nFMOV            S0, S9                                                 ; +0x3c, 0x10004bb78\nBL              CCTextInputNode__setMaxLabelScale                      ; +0x40, 0x10004bb7c\nFMOV            S0, #-8.0                                              ; +0x44, 0x10004bb80\nFADD            S0, S8, S0                                             ; +0x48, 0x10004bb84\nMOV             X0, X20                                                ; +0x4c, 0x10004bb88\nBL              CCTextInputNode__setMaxLabelWidth                      ; +0x50, 0x10004bb8c\nLDR             X0, [X20,#0x240]                                       ; +0x54, 0x10004bb90\nLDR             X8, [X0]                                               ; +0x58, 0x10004bb94\nLDR             X8, [X8,#0x158]                                        ; +0x5c, 0x10004bb98\nMOV             W1, #0                                                 ; +0x60, 0x10004bb9c\nBLR             X8                                                     ; +0x64, 0x10004bba0\nSTR             W19, [X20,#0x250]                                      ; +0x68, 0x10004bba4\nMOV             X0, X20                                                ; +0x6c, 0x10004bba8\nMOV             W1, #0x416CC3                                          ; +0x70, 0x10004bbac\nBL              CCTextInputNode__setLabelPlaceholderColor              ; +0x78, 0x10004bbb4\nMOV             X0, X20                                                ; +0x7c, 0x10004bbb8\nFMOV            S0, S9                                                 ; +0x80, 0x10004bbbc\nBL              CCTextInputNode__setLabelPlaceholderScale              ; +0x84, 0x10004bbc0\nMOV             X0, X20                                                ; +0x88, 0x10004bbc4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8c, 0x10004bbc8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x90, 0x10004bbcc\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x94, 0x10004bbd0\nRET                                                                    ; +0x98, 0x10004bbd4", "xrefs": ["FRequestProfilePage::init @ 0x10024afd4", "FriendsProfilePage::init @ 0x1002718a4", "MessageThreadsPage::init @ 0x1004f4304", "FriendPickerPopup::init @ 0x1005033c4", "sub_1005048D8 @ 0x100504bb4", "sub_100508F28 @ 0x100509a44", "InvitesPopup::init @ 0x10050e9f0", "sub_100510CBC @ 0x100510fa0", "ThreadSearchPopup::init @ 0x100511c18", "sub_1005401F4 @ 0x1005406ac", "sub_10054BC54 @ 0x10054c104"], "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"}