// // GJAccountSettingsLayer::closeAccInputNodes from 0x5e43d8 to 0x5e4494 (188 bytes) // // 2 xrefs: // > GJAccountSettingsLayer::onClose @ 0x5e44a0 // > GJAccountSettingsLayer::onUpdate @ 0x5e44ec // // 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:54:18 +0000 // int __fastcall GJAccountSettingsLayer::closeAccInputNodes(int this, cocos2d::CCArray *a2) { _DWORD *v2; // r3 _DWORD *v3; // r6 int **v4; // r10 _DWORD *v5; // r5 _DWORD *v6; // t1 int v7; // r3 _DWORD *v8; // r4 int v9; // r1 int v10; // r2 _DWORD *v11; // [sp+4h] [bp-20h] int v12; // [sp+Ch] [bp-18h] BYREF int v13; // [sp+10h] [bp-14h] BYREF int v14; // [sp+14h] [bp-10h] int v15; // [sp+18h] [bp-Ch] if ( a2 ) { v2 = *((_DWORD **)a2 + 13); if ( *v2 ) { v3 = (_DWORD *)v2[3]; v4 = (int **)(this + 548); v11 = &v3[*v2 - 1]; while ( v3 <= v11 ) { v6 = (_DWORD *)*v3++; v5 = v6; if ( !v6 ) break; v7 = *v5; v5[105] = 0; (*(void (__fastcall **)(_DWORD *, _DWORD))(v7 + 580))(v5, 0); v12 = (*(int (__fastcall **)(_DWORD *))(*v5 + 32))(v5); v8 = std::map::operator[](v4, &v12); CCTextInputNode::getString((CCTextInputNode *)&v13, (int)v5); if ( (*(_BYTE *)v8 & 1) != 0 ) { *(_BYTE *)v8[2] = 0; v8[1] = 0; } else { *((_BYTE *)v8 + 1) = 0; *(_BYTE *)v8 = 0; } std::string::reserve(v8, 0); v9 = v14; v10 = v15; *v8 = v13; v8[1] = v9; v8[2] = v10; v13 = 0; v14 = 0; v15 = 0; this = std::string::~string((int)&v13); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source