{"type": "func", "start": 5094284, "end": 5094398, "name": "GJFollowCommandLayer::updateTextInputLabel2", "pseudocode": "// \n// GJFollowCommandLayer::updateTextInputLabel2 from 0x4dbb8c to 0x4dbbfe (114 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x4dc73c\n// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x4dca9c\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\nvoid GJFollowCommandLayer::updateTextInputLabel2(GJFollowCommandLayer *a1)\n{\n  const char *m_followGroupID; // r1\n  cocos2d::CCString *v3; // r0\n  char *CString; // r1\n  CCTextInputNode *m_followIDInput; // r7\n  char *v6; // r2\n  char v7[4]; // [sp+8h] [bp-Ch] BYREF\n\n  m_followGroupID = (const char *)a1->m_followGroupID;\n  a1->m_disableTextDelegate = 1;\n  if ( m_followGroupID == (const char *)-99999 )\n  {\n    CString = (char *)&unk_939830;\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", m_followGroupID);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_followIDInput = a1->m_followIDInput;\n  sub_776584((int)v7, CString);\n  CCTextInputNode::setString((int)m_followIDInput, v7, v6);\n  sub_774008(v7);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateTextInputLabel2 from 0x4dbb8c to 0x4dbbfe (114 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x4dc73c\n; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x4dca9c\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x4DBB94)                ; +0x0, 0x4dbb8c\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x4dbb8e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x4dbb90\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x4dbb92\nSUB             SP, SP, #0x14                                          ; +0x8, 0x4dbb94\nLDR.W           R1, [R0,#0x2D8]; char *                                ; +0xa, 0x4dbb96\nLDR             R2, [R3]                                               ; +0xe, 0x4dbb9a\nMOV             R6, R0                                                 ; +0x10, 0x4dbb9c\nMOV             R4, R3                                                 ; +0x12, 0x4dbb9e\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x14, 0x4dbba0\nMOVS            R2, #1                                                 ; +0x16, 0x4dbba2\nSTRB.W          R2, [R0,#0x220]                                        ; +0x18, 0x4dbba4\nLDR             R2, =0xFFFE7961                                        ; +0x1c, 0x4dbba8\nCMP             R1, R2                                                 ; +0x1e, 0x4dbbaa\nBEQ             loc_4DBBBE                                             ; +0x20, 0x4dbbac\nLDR             R0, =(aI - 0x4DBBB4); \"%i\"                             ; +0x22, 0x4dbbae\nADD             R0, PC; \"%i\"                                           ; +0x24, 0x4dbbb0\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x26, 0x4dbbb2\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2a, 0x4dbbb6\nMOV             R1, R0                                                 ; +0x2e, 0x4dbbba\nB               loc_4DBBC2                                             ; +0x30, 0x4dbbbc\nLDR             R1, =(unk_939830 - 0x4DBBC4)                           ; +0x32, 0x4dbbbe\nADD             R1, PC; unk_939830 ; char *                            ; +0x34, 0x4dbbc0\nLDR.W           R7, [R6,#0x2D4]                                        ; +0x36, 0x4dbbc2\nADD             R5, SP, #0x14+var_C                                    ; +0x3a, 0x4dbbc6\nADD             R2, SP, #0x14+var_10                                   ; +0x3c, 0x4dbbc8\nMOV             R0, R5; int                                            ; +0x3e, 0x4dbbca\nBL              sub_776584                                             ; +0x40, 0x4dbbcc\nMOV             R0, R7                                                 ; +0x44, 0x4dbbd0\nMOV             R1, R5                                                 ; +0x46, 0x4dbbd2\nBL              _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x48, 0x4dbbd4\nMOV             R0, R5                                                 ; +0x4c, 0x4dbbd8\nBL              sub_774008                                             ; +0x4e, 0x4dbbda\nMOVS            R3, #0                                                 ; +0x52, 0x4dbbde\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x54, 0x4dbbe0\nSTRB.W          R3, [R6,#0x220]                                        ; +0x56, 0x4dbbe2\nLDR             R3, [R4]                                               ; +0x5a, 0x4dbbe6\nCMP             R2, R3                                                 ; +0x5c, 0x4dbbe8\nBEQ             loc_4DBBFA                                             ; +0x5e, 0x4dbbea\nBLX             __stack_chk_fail                                       ; +0x60, 0x4dbbec\nMOV             R0, R5                                                 ; +0x64, 0x4dbbf0\nBL              sub_774008                                             ; +0x66, 0x4dbbf2\nBL              __cxa_end_cleanup                                      ; +0x6a, 0x4dbbf6\nADD             SP, SP, #0x14                                          ; +0x6e, 0x4dbbfa\nPOP             {R4-R7,PC}                                             ; +0x70, 0x4dbbfc", "xrefs": ["GJFollowCommandLayer::init @ 0x4dc73c", "GJFollowCommandLayer::onUpdateGroupID2 @ 0x4dca9c"], "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"}