{"type": "func", "start": 5035636, "end": 5035736, "name": "CollisionBlockPopup::updateTextInputLabel", "pseudocode": "// \n// CollisionBlockPopup::updateTextInputLabel from 0x4cd674 to 0x4cd6d8 (100 bytes)\n// \n// 3 xrefs:\n// > CollisionBlockPopup::init @ 0x4cdcf8\n// > CollisionBlockPopup::onItemIDArrow @ 0x4cdfd8\n// > CollisionBlockPopup::onNextItemID @ 0x4ce05c\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 CollisionBlockPopup::updateTextInputLabel(CollisionBlockPopup *a1)\n{\n  const char *m_blockID; // r1\n  cocos2d::CCString *v3; // r0\n  char *CString; // r0\n  CCTextInputNode *m_blockIDInput; // r7\n  char *v6; // r2\n  char v7[4]; // [sp+8h] [bp-Ch] BYREF\n\n  m_blockID = (const char *)a1->m_blockID;\n  a1->m_disableDelegate = 1;\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", m_blockID);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  m_blockIDInput = a1->m_blockIDInput;\n  sub_776584((int)v7, CString);\n  CCTextInputNode::setString((int)m_blockIDInput, v7, v6);\n  sub_774008(v7);\n  a1->m_disableDelegate = 0;\n}", "assembly": "; \n; CollisionBlockPopup::updateTextInputLabel from 0x4cd674 to 0x4cd6d8 (100 bytes)\n; \n; 3 xrefs:\n; > CollisionBlockPopup::init @ 0x4cdcf8\n; > CollisionBlockPopup::onItemIDArrow @ 0x4cdfd8\n; > CollisionBlockPopup::onNextItemID @ 0x4ce05c\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x4cd674\nSUB             SP, SP, #0x14                                          ; +0x2, 0x4cd676\nLDR             R4, =(__stack_chk_guard_ptr - 0x4CD686)                ; +0x4, 0x4cd678\nMOV             R6, R0                                                 ; +0x6, 0x4cd67a\nLDR.W           R1, [R6,#0x200]; char *                                ; +0x8, 0x4cd67c\nADD             R5, SP, #0x14+var_C                                    ; +0xc, 0x4cd680\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4cd682\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x4cd684\nLDR             R3, [R4]                                               ; +0x12, 0x4cd686\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x4cd688\nMOVS            R3, #1                                                 ; +0x16, 0x4cd68a\nSTRB.W          R3, [R0,#0x205]                                        ; +0x18, 0x4cd68c\nLDR             R0, =(aI - 0x4CD696); \"%i\"                             ; +0x1c, 0x4cd690\nADD             R0, PC; \"%i\"                                           ; +0x1e, 0x4cd692\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x20, 0x4cd694\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x24, 0x4cd698\nLDR.W           R7, [R6,#0x1FC]                                        ; +0x28, 0x4cd69c\nADD             R2, SP, #0x14+var_10                                   ; +0x2c, 0x4cd6a0\nMOV             R1, R0; char *                                         ; +0x2e, 0x4cd6a2\nMOV             R0, R5; int                                            ; +0x30, 0x4cd6a4\nBL              sub_776584                                             ; +0x32, 0x4cd6a6\nMOV             R0, R7                                                 ; +0x36, 0x4cd6aa\nMOV             R1, R5                                                 ; +0x38, 0x4cd6ac\nBL              _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x3a, 0x4cd6ae\nMOV             R0, R5                                                 ; +0x3e, 0x4cd6b2\nBL              sub_774008                                             ; +0x40, 0x4cd6b4\nMOVS            R3, #0                                                 ; +0x44, 0x4cd6b8\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x46, 0x4cd6ba\nSTRB.W          R3, [R6,#0x205]                                        ; +0x48, 0x4cd6bc\nLDR             R3, [R4]                                               ; +0x4c, 0x4cd6c0\nCMP             R2, R3                                                 ; +0x4e, 0x4cd6c2\nBEQ             loc_4CD6D4                                             ; +0x50, 0x4cd6c4\nBLX             __stack_chk_fail                                       ; +0x52, 0x4cd6c6\nMOV             R0, R5                                                 ; +0x56, 0x4cd6ca\nBL              sub_774008                                             ; +0x58, 0x4cd6cc\nBL              __cxa_end_cleanup                                      ; +0x5c, 0x4cd6d0\nADD             SP, SP, #0x14                                          ; +0x60, 0x4cd6d4\nPOP             {R4-R7,PC}                                             ; +0x62, 0x4cd6d6", "xrefs": ["CollisionBlockPopup::init @ 0x4cdcf8", "CollisionBlockPopup::onItemIDArrow @ 0x4cdfd8", "CollisionBlockPopup::onNextItemID @ 0x4ce05c"], "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"}