// // LevelSearchLayer::updateSearchLabel from 0x7e1fcc to 0x7e2288 (700 bytes) // // 4 xrefs: // > LevelSearchLayer::textInputClosed @ 0x7e22d0 // > LevelSearchLayer::textChanged @ 0x7e2378 // > LevelSearchLayer::init @ 0x7e2c98 // > @ 0x98bf0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:26 +0000 // __int64 __fastcall LevelSearchLayer::updateSearchLabel(LevelSearchLayer *this, char *a2) { __int64 v4; // x23 const char *v5; // x1 size_t v6; // x0 size_t v7; // x0 bool v8; // w0 _BOOL4 v9; // w22 __int64 v10; // x20 void (__fastcall *v11)(__int64, char *); // x2 void (__fastcall *v13)(__int64, char *); // x3 size_t v14; // x0 char *v15; // [xsp+58h] [xbp+58h] char v16; // [xsp+68h] [xbp+68h] BYREF char v17; // [xsp+69h] [xbp+69h] char v18; // [xsp+6Ah] [xbp+6Ah] __int64 v19; // [xsp+70h] [xbp+70h] BYREF size_t v20; // [xsp+78h] [xbp+78h] void *v21; // [xsp+80h] [xbp+80h] __int64 v22[2]; // [xsp+88h] [xbp+88h] BYREF void *v23; // [xsp+98h] [xbp+98h] __int64 v24[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v25; // [xsp+B0h] [xbp+B0h] __int64 v26[2]; // [xsp+B8h] [xbp+B8h] BYREF void *v27; // [xsp+C8h] [xbp+C8h] __int64 v28; // [xsp+D0h] [xbp+D0h] BYREF size_t v29; // [xsp+D8h] [xbp+D8h] void *v30; // [xsp+E0h] [xbp+E0h] v4 = *(_QWORD *)(*((_QWORD *)this + 55) + 600LL); if ( *((_DWORD *)this + 108) == 1 ) v5 = "Enter a list or id"; else v5 = "Enter a level, user or id"; v15 = (char *)v5; v19 = 0; v20 = 0; v21 = nullptr; v6 = strlen(v5); std::string::__init(&v19, v15, v6); v22[0] = 0; v22[1] = 0; v23 = nullptr; v7 = strlen(a2); std::string::__init(v22, a2, v7); v24[0] = 0; v24[1] = 0; v25 = nullptr; std::string::__init(v24, &byte_11B8890, 0); v8 = sub_7DDFD4((__int64)v22, (__int64)v24); v9 = v8; if ( v8 || (v26[0] = 0, v26[1] = 0, v27 = nullptr, v14 = strlen(a2), std::string::__init(v26, a2, v14), v9 = sub_7DDFD4((__int64)v26, (__int64)&v19), (v26[0] & 1) == 0) ) { if ( (v24[0] & 1) == 0 ) goto LABEL_5; } else { operator delete(v27); if ( (v24[0] & 1) == 0 ) goto LABEL_5; } operator delete(v25); LABEL_5: if ( (v22[0] & 1) != 0 ) { operator delete(v23); if ( v9 ) goto LABEL_7; LABEL_16: v13 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 1072LL); v16 = -1; v17 = -1; v18 = -1; v13(v4, &v16); goto LABEL_12; } if ( !v9 ) goto LABEL_16; LABEL_7: v28 = 0; v29 = 0; v30 = nullptr; v10 = *((_QWORD *)this + 55); if ( (v19 & 1) != 0 ) { std::string::__init(&v28, v21, v20); } else { v28 = v19; v29 = v20; v30 = v21; } CCTextInputNode::updateLabel(v10, (__int64)&v28); if ( (v28 & 1) != 0 ) operator delete(v30); v11 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 1072LL); v16 = 108; v17 = -103; v18 = -40; v11(v4, &v16); LABEL_12: if ( (v19 & 1) != 0 ) operator delete(v21); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source