{"type": "func", "start": 5094152, "end": 5094266, "name": "GJFollowCommandLayer::updateTextInputLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateTextInputLabel from 0x4dbb08 to 0x4dbb7a (114 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x4dc736\n// > GJFollowCommandLayer::onUpdateGroupID @ 0x4dca10\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::updateTextInputLabel(GJFollowCommandLayer *a1)\n{\n  const char *m_targetGroupID; // r1\n  cocos2d::CCString *v3; // r0\n  char *CString; // r1\n  CCTextInputNode *m_targetIDInput; // r7\n  char *v6; // r2\n  char v7[4]; // [sp+8h] [bp-Ch] BYREF\n\n  m_targetGroupID = (const char *)a1->m_targetGroupID;\n  a1->m_disableTextDelegate = 1;\n  if ( m_targetGroupID == (const char *)-99999 )\n  {\n    CString = (char *)&unk_939830;\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", m_targetGroupID);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_targetIDInput = a1->m_targetIDInput;\n  sub_776584((int)v7, CString);\n  CCTextInputNode::setString((int)m_targetIDInput, v7, v6);\n  sub_774008(v7);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateTextInputLabel from 0x4dbb08 to 0x4dbb7a (114 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x4dc736\n; > GJFollowCommandLayer::onUpdateGroupID @ 0x4dca10\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 - 0x4DBB10)                ; +0x0, 0x4dbb08\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x4dbb0a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x4dbb0c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x4dbb0e\nSUB             SP, SP, #0x14                                          ; +0x8, 0x4dbb10\nLDR.W           R1, [R0,#0x2D0]; char *                                ; +0xa, 0x4dbb12\nLDR             R2, [R3]                                               ; +0xe, 0x4dbb16\nMOV             R6, R0                                                 ; +0x10, 0x4dbb18\nMOV             R4, R3                                                 ; +0x12, 0x4dbb1a\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x14, 0x4dbb1c\nMOVS            R2, #1                                                 ; +0x16, 0x4dbb1e\nSTRB.W          R2, [R0,#0x220]                                        ; +0x18, 0x4dbb20\nLDR             R2, =0xFFFE7961                                        ; +0x1c, 0x4dbb24\nCMP             R1, R2                                                 ; +0x1e, 0x4dbb26\nBEQ             loc_4DBB3A                                             ; +0x20, 0x4dbb28\nLDR             R0, =(aI - 0x4DBB30); \"%i\"                             ; +0x22, 0x4dbb2a\nADD             R0, PC; \"%i\"                                           ; +0x24, 0x4dbb2c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x26, 0x4dbb2e\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2a, 0x4dbb32\nMOV             R1, R0                                                 ; +0x2e, 0x4dbb36\nB               loc_4DBB3E                                             ; +0x30, 0x4dbb38\nLDR             R1, =(unk_939830 - 0x4DBB40)                           ; +0x32, 0x4dbb3a\nADD             R1, PC; unk_939830 ; char *                            ; +0x34, 0x4dbb3c\nLDR.W           R7, [R6,#0x2CC]                                        ; +0x36, 0x4dbb3e\nADD             R5, SP, #0x14+var_C                                    ; +0x3a, 0x4dbb42\nADD             R2, SP, #0x14+var_10                                   ; +0x3c, 0x4dbb44\nMOV             R0, R5; int                                            ; +0x3e, 0x4dbb46\nBL              sub_776584                                             ; +0x40, 0x4dbb48\nMOV             R0, R7                                                 ; +0x44, 0x4dbb4c\nMOV             R1, R5                                                 ; +0x46, 0x4dbb4e\nBL              _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x48, 0x4dbb50\nMOV             R0, R5                                                 ; +0x4c, 0x4dbb54\nBL              sub_774008                                             ; +0x4e, 0x4dbb56\nMOVS            R3, #0                                                 ; +0x52, 0x4dbb5a\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x54, 0x4dbb5c\nSTRB.W          R3, [R6,#0x220]                                        ; +0x56, 0x4dbb5e\nLDR             R3, [R4]                                               ; +0x5a, 0x4dbb62\nCMP             R2, R3                                                 ; +0x5c, 0x4dbb64\nBEQ             loc_4DBB76                                             ; +0x5e, 0x4dbb66\nBLX             __stack_chk_fail                                       ; +0x60, 0x4dbb68\nMOV             R0, R5                                                 ; +0x64, 0x4dbb6c\nBL              sub_774008                                             ; +0x66, 0x4dbb6e\nBL              __cxa_end_cleanup                                      ; +0x6a, 0x4dbb72\nADD             SP, SP, #0x14                                          ; +0x6e, 0x4dbb76\nPOP             {R4-R7,PC}                                             ; +0x70, 0x4dbb78", "xrefs": ["GJFollowCommandLayer::init @ 0x4dc736", "GJFollowCommandLayer::onUpdateGroupID @ 0x4dca10"], "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"}