// // EditorSoundsLayer::textChanged from 0x78b444 to 0x78b50a (198 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorSoundsLayer::textChanged @ 0x78b514 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:59:36 +0000 // int __fastcall EditorSoundsLayer::textChanged(int this, CCTextInputNode *a2) { int v2; // r4 int v3; // r3 int v4; // r7 size_t v5; // r2 int v6; // r1 int v7; // r3 char *v8; // r0 unsigned __int8 *v9; // r1 char *v10; // r0 unsigned __int8 *v11; // r2 int v12; // t1 ScrollableContentLayer *v13; // r0 unsigned __int8 v14; // [sp+0h] [bp-14h] BYREF char v15; // [sp+1h] [bp-13h] BYREF size_t v16; // [sp+4h] [bp-10h] char *v17; // [sp+8h] [bp-Ch] v2 = this; if ( *(CCTextInputNode **)(this + 756) == a2 ) { CCTextInputNode::getString((CCTextInputNode *)&v14, (int)a2); v3 = *(unsigned __int8 *)(v2 + 768); v4 = v14 & 1; if ( v4 ) v5 = v16; else v5 = (int)v14 >> 1; v6 = v3 & 1; if ( (v3 & 1) != 0 ) v7 = *(_DWORD *)(v2 + 772); else v7 = v3 >> 1; if ( v5 != v7 ) goto LABEL_24; if ( v4 ) v8 = v17; else v8 = &v15; if ( v6 ) v9 = *(unsigned __int8 **)(v2 + 776); else v9 = (unsigned __int8 *)(v2 + 769); if ( !v4 ) { v10 = v8 - 1; v11 = &v9[v5]; while ( v9 != v11 ) { v12 = (unsigned __int8)*++v10; if ( v12 != *v9 ) goto LABEL_24; ++v9; } return std::string::~string((int)&v14); } if ( v5 && memcmp(v8, v9, v5) ) { LABEL_24: std::string::operator=((unsigned __int8 *)(v2 + 768), &v14); v13 = *(ScrollableContentLayer **)(v2 + 784); if ( v13 ) ScrollableContentLayer::scrollTo(v13, 0.0); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v2 + 752))(v2, *(_DWORD *)(v2 + 780)); } return std::string::~string((int)&v14); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source