{"type": "func", "start": 4295514404, "end": 4295514524, "name": "CollisionBlockPopup::textChanged", "pseudocode": "// \n// CollisionBlockPopup::textChanged from 0x100085924 to 0x10008599c (120 bytes)\n// \n// 2 xrefs:\n// > sub_10008599C @ 0x1000859a0\n// > <???> @ 0x10077e130\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 __fastcall CollisionBlockPopup::textChanged(CollisionBlockPopup *a1, CCTextInputNode *a2)\n{\n  char *v3; // x20\n  char *v4[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  if ( !a1->m_disableDelegate )\n  {\n    CCTextInputNode::getString(v4, a2);\n    if ( v5 < 0 )\n    {\n      v3 = v4[0];\n      a1->m_blockID = atoi(v4[0]);\n      operator delete(v3);\n    }\n    else\n    {\n      a1->m_blockID = atoi((const char *)v4);\n    }\n    CollisionBlockPopup::updateItemID(a1);\n    CollisionBlockPopup::updateEditorLabel(a1);\n  }\n}", "assembly": "; \n; CollisionBlockPopup::textChanged from 0x100085924 to 0x10008599c (120 bytes)\n; \n; 2 xrefs:\n; > sub_10008599C @ 0x1000859a0\n; > <???> @ 0x10077e130\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\nLDRB            W8, [X0,#0x29D]                                        ; +0x0, 0x100085924\nTBNZ            W8, #0, locret_100085998                               ; +0x4, 0x100085928\nSUB             SP, SP, #0x40                                          ; +0x8, 0x10008592c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0xc, 0x100085930\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10, 0x100085934\nADD             X29, SP, #0x30                                         ; +0x14, 0x100085938\nMOV             X19, X0                                                ; +0x18, 0x10008593c\nADD             X8, SP, #0x30+var_28                                   ; +0x1c, 0x100085940\nMOV             X0, X1                                                 ; +0x20, 0x100085944\nBL              CCTextInputNode__getString                             ; +0x24, 0x100085948\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x28, 0x10008594c\nTBNZ            W8, #0x1F, loc_100085964                               ; +0x2c, 0x100085950\nADD             X0, SP, #0x30+var_28; char *                           ; +0x30, 0x100085954\nBL              _atoi                                                  ; +0x34, 0x100085958\nSTR             W0, [X19,#0x298]                                       ; +0x38, 0x10008595c\nB               loc_10008597C                                          ; +0x3c, 0x100085960\nLDR             X20, [SP,#0x30+var_28]                                 ; +0x40, 0x100085964\nMOV             X0, X20; char *                                        ; +0x44, 0x100085968\nBL              _atoi                                                  ; +0x48, 0x10008596c\nSTR             W0, [X19,#0x298]                                       ; +0x4c, 0x100085970\nMOV             X0, X20; __p                                           ; +0x50, 0x100085974\nBL              __ZdlPv; operator delete(void *)                       ; +0x54, 0x100085978\nMOV             X0, X19                                                ; +0x58, 0x10008597c\nBL              CollisionBlockPopup__updateItemID                      ; +0x5c, 0x100085980\nMOV             X0, X19                                                ; +0x60, 0x100085984\nBL              CollisionBlockPopup__updateEditorLabel                 ; +0x64, 0x100085988\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x10008598c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x100085990\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x100085994\nRET                                                                    ; +0x74, 0x100085998", "xrefs": ["sub_10008599C @ 0x1000859a0", "<???> @ 0x10077e130"], "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"}