// // LevelListLayer::textInputClosed from 0xbae510 to 0xbae708 (504 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelListLayer::textInputClosed @ 0xbae70c // > @ 0x69040 // > @ 0x14dbf18 // // 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 13:02:53 +0000 // __int64 __fastcall LevelListLayer::textInputClosed(LevelListLayer *this, CCTextInputNode *a2) { __int64 v5; // x21 char *v6; // x1 size_t v7; // x2 const char *v8; // x1 size_t v9; // x0 char *v10; // [xsp+48h] [xbp+48h] __int64 v11; // [xsp+58h] [xbp+58h] BYREF size_t v12; // [xsp+60h] [xbp+60h] void *v13; // [xsp+68h] [xbp+68h] __int64 v14; // [xsp+70h] [xbp+70h] BYREF size_t v15; // [xsp+78h] [xbp+78h] void *v16; // [xsp+80h] [xbp+80h] __int64 v17[2]; // [xsp+88h] [xbp+88h] BYREF void *v18; // [xsp+98h] [xbp+98h] __int64 v19[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v20; // [xsp+B0h] [xbp+B0h] if ( (*(unsigned int (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2) == 1002 ) { CCTextInputNode::getString(a2, &v11); v14 = 0; v15 = 0; v16 = nullptr; v5 = *((_QWORD *)this + 114); if ( (v11 & 1) != 0 ) { std::string::__init(&v14, v13, v12); } else { v16 = v13; v14 = v11; v15 = v12; } if ( (__int64 *)(v5 + 432) != &v14 ) { if ( (v14 & 1) != 0 ) { v6 = (char *)v16; v7 = v15; } else { v7 = (unsigned __int8)v14 >> 1; v6 = (char *)&v14 + 1; } std::string::assign((__int64 *)(v5 + 432), v6, v7); } if ( (v14 & 1) != 0 ) operator delete(v16); CCTextInputNode::getString(a2, v17); v8 = (char *)v17 + 1; if ( (v17[0] & 1) != 0 ) v8 = (const char *)v18; v10 = (char *)v8; v19[0] = 0; v19[1] = 0; v20 = nullptr; v9 = strlen(v8); std::string::__init(v19, v10, v9); CCTextInputNode::updateLabel((__int64)a2, (__int64)v19); if ( (v19[0] & 1) != 0 ) operator delete(v20); if ( (v17[0] & 1) != 0 ) operator delete(v18); if ( (v11 & 1) != 0 ) operator delete(v13); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source