// // OptionsScrollLayer::textChanged from 0x6bfafc to 0x6bfbae (178 bytes) // // 1 xrefs: // > `non-virtual thunk to'OptionsScrollLayer::textChanged @ 0x6bfbb8 // // 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:56:49 +0000 // int __fastcall OptionsScrollLayer::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 unsigned __int8 v13; // [sp+0h] [bp-14h] BYREF char v14; // [sp+1h] [bp-13h] BYREF size_t v15; // [sp+4h] [bp-10h] char *v16; // [sp+8h] [bp-Ch] v2 = this; if ( *(CCTextInputNode **)(this + 536) == a2 ) { CCTextInputNode::getString((CCTextInputNode *)&v13, (int)a2); v3 = *(unsigned __int8 *)(v2 + 548); v4 = v13 & 1; if ( v4 ) v5 = v15; else v5 = (int)v13 >> 1; v6 = v3 & 1; if ( (v3 & 1) != 0 ) v7 = *(_DWORD *)(v2 + 552); else v7 = v3 >> 1; if ( v5 != v7 ) goto LABEL_24; if ( v4 ) v8 = v16; else v8 = &v14; if ( v6 ) v9 = *(unsigned __int8 **)(v2 + 556); else v9 = (unsigned __int8 *)(v2 + 549); 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)&v13); } if ( v5 && memcmp(v8, v9, v5) ) { LABEL_24: std::string::operator=((unsigned __int8 *)(v2 + 548), &v13); OptionsScrollLayer::setupList((OptionsScrollLayer *)v2, *(cocos2d::CCArray **)(v2 + 524)); } return std::string::~string((int)&v13); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source