{"type": "func", "start": 13433472, "end": 13433672, "name": "EditorSoundConfigInfoLayer::textChanged", "pseudocode": "// \n// EditorSoundConfigInfoLayer::textChanged from 0xccfa80 to 0xccfb48 (200 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigInfoLayer::textChanged @ 0xccfb4c\n// > <???> @ 0xec908\n// > <???> @ 0x14fedd8\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 13:06:26 +0000\n// \n\n__int64 __fastcall EditorSoundConfigInfoLayer::textChanged(EditorSoundConfigInfoLayer *this, CCTextInputNode *a2)\n{\n  __int64 v2; // x20\n  CCTextInputNode *v3; // x0\n  __int64 *v5; // x0\n  __int64 v6[2]; // [xsp+30h] [xbp+30h] BYREF\n  void *v7; // [xsp+40h] [xbp+40h]\n\n  v2 = *((_QWORD *)this + 136);\n  if ( v2 )\n  {\n    v3 = *((CCTextInputNode **)this + 154);\n    if ( v3 == a2 )\n    {\n      CCTextInputNode::getString(v3, v6);\n      v5 = (__int64 *)(v2 + 376);\n      if ( (__int64 *)(v2 + 376) != v6 )\n      {\n        if ( (v6[0] & 1) != 0 )\n          std::string::assign(v5, v7, v6[1]);\n        else\n          std::string::assign(v5, (char *)v6 + 1, LOBYTE(v6[0]) >> 1);\n      }\n      if ( (v6[0] & 1) != 0 )\n        operator delete(v7);\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::textChanged from 0xccfa80 to 0xccfb48 (200 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigInfoLayer::textChanged @ 0xccfb4c\n; > <???> @ 0xec908\n; > <???> @ 0x14fedd8\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 13:06:26 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xccfa80\nMOV             X29, SP                                                ; +0x4, 0xccfa84\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0xccfa88\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xccfa8c\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0xccfa90\nLDR             X20, [X0,#0x440]                                       ; +0x14, 0xccfa94\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xccfa98\nLDR             X2, [X2]                                               ; +0x1c, 0xccfa9c\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x20, 0xccfaa0\nCBZ             X20, loc_CCFAB4                                        ; +0x24, 0xccfaa4\nLDR             X0, [X0,#0x4D0]; this                                  ; +0x28, 0xccfaa8\nCMP             X0, X1                                                 ; +0x2c, 0xccfaac\nB.EQ            loc_CCFAD8                                             ; +0x30, 0xccfab0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x34, 0xccfab4\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x38, 0xccfab8\nLDR             X0, [X19]                                              ; +0x3c, 0xccfabc\nCMP             X1, X0                                                 ; +0x40, 0xccfac0\nB.NE            loc_CCFB28                                             ; +0x44, 0xccfac4\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x48, 0xccfac8\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x4c, 0xccfacc\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x50, 0xccfad0\nRET                                                                    ; +0x54, 0xccfad4\nADD             X21, X29, #0x50+var_20                                 ; +0x58, 0xccfad8\nMOV             X8, X21                                                ; +0x5c, 0xccfadc\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x60, 0xccfae0\nADD             X0, X20, #0x178; int                                   ; +0x64, 0xccfae4\nCMP             X0, X21                                                ; +0x68, 0xccfae8\nB.EQ            loc_CCFB04                                             ; +0x6c, 0xccfaec\nLDRB            W2, [X29,#0x50+var_20]                                 ; +0x70, 0xccfaf0\nTBZ             W2, #0, loc_CCFB18                                     ; +0x74, 0xccfaf4\nLDR             X1, [X21,#0x10]; int                                   ; +0x78, 0xccfaf8\nLDR             X2, [X21,#8]; size_t                                   ; +0x7c, 0xccfafc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x80, 0xccfb00\nLDRB            W0, [X29,#0x50+var_20]                                 ; +0x84, 0xccfb04\nTBZ             W0, #0, loc_CCFAB4                                     ; +0x88, 0xccfb08\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x8c, 0xccfb0c\nBL              _ZdlPv; operator delete(void *)                        ; +0x90, 0xccfb10\nB               loc_CCFAB4                                             ; +0x94, 0xccfb14\nUBFX            X2, X2, #1, #7; size_t                                 ; +0x98, 0xccfb18\nADD             X1, X21, #1; int                                       ; +0x9c, 0xccfb1c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0xa0, 0xccfb20\nB               loc_CCFB04                                             ; +0xa4, 0xccfb24\nBL              .__stack_chk_fail                                      ; +0xa8, 0xccfb28\nLDRB            W1, [X29,#0x50+var_20]                                 ; +0xac, 0xccfb2c\nMOV             X19, X0                                                ; +0xb0, 0xccfb30\nTBZ             W1, #0, loc_CCFB40                                     ; +0xb4, 0xccfb34\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0xb8, 0xccfb38\nBL              _ZdlPv; operator delete(void *)                        ; +0xbc, 0xccfb3c\nMOV             X0, X19                                                ; +0xc0, 0xccfb40\nBL              _Unwind_Resume                                         ; +0xc4, 0xccfb44", "xrefs": ["`non-virtual thunk to'EditorSoundConfigInfoLayer::textChanged @ 0xccfb4c", "<???> @ 0xec908", "<???> @ 0x14fedd8"], "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"}