// // GJAccountSettingsLayer::closeAccInputNodes from 0x10028cd10 to 0x10028ce8d (381 bytes) // // 7 xrefs: // > GJAccountSettingsLayer::onClose @ 0x10028c1f0 // > GJAccountSettingsLayer::onUpdate @ 0x10028c23e // > GJAccountSettingsLayer::keyBackClicked @ 0x10028dca0 // > sub_10028DCD0 @ 0x10028dceb // > UpdateAccountSettingsPopup::onClose @ 0x10028fc80 // > UpdateAccountSettingsPopup::keyBackClicked @ 0x10028ff20 // > sub_10028FF60 @ 0x10028ffc3 // // This function is hookable on this platform (idp: pc, 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:27:48 +0000 // void __fastcall GJAccountSettingsLayer::closeAccInputNodes(__int64 a1, __int64 a2) { unsigned int *v2; // rax _QWORD **v3; // r13 char *v4; // r12 _QWORD *v5; // r15 int v6; // r15d char *v7; // r14 char *v8; // rax _QWORD *v9; // rbx int v10; // eax char *v11; // r12 __int64 v12; // rbx __int64 v13; // rax __int128 v14; // [rsp+8h] [rbp-58h] BYREF __int64 v15; // [rsp+18h] [rbp-48h] char *v16; // [rsp+20h] [rbp-40h] _QWORD **v17; // [rsp+28h] [rbp-38h] __int64 v18; // [rsp+30h] [rbp-30h] if ( a2 ) { v2 = *(unsigned int **)(a2 + 56); if ( *v2 ) { v3 = *((_QWORD ***)v2 + 2); v17 = &v3[*v2 - 1]; v16 = (char *)(a1 + 704); v18 = a1; do { v5 = *v3; if ( !*v3 ) break; v5[73] = 0; (*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1160LL))(v5, 0); CCTextInputNode::getString(&v14, (__int64)v5); v6 = (*(__int64 (__fastcall **)(_QWORD *))(*v5 + 64LL))(v5); v7 = v16; while ( 1 ) { v8 = *(char **)v7; v9 = v7; if ( !*(_QWORD *)v7 ) break; while ( 1 ) { v7 = v8; v10 = *((_DWORD *)v8 + 8); if ( v6 < v10 ) break; if ( v6 <= v10 ) { v11 = v7; if ( (v7[40] & 1) == 0 ) goto LABEL_4; goto LABEL_17; } v8 = *((char **)v7 + 1); if ( !v8 ) { v9 = v7 + 8; goto LABEL_12; } } } LABEL_12: v11 = (char *)operator new(0x40u); *((_DWORD *)v11 + 8) = v6; *(_OWORD *)(v11 + 40) = 0; *((_QWORD *)v11 + 7) = 0; *(_OWORD *)v11 = 0; *((_QWORD *)v11 + 2) = v7; *v9 = v11; v12 = v18; v13 = **(_QWORD **)(v18 + 696); if ( v13 ) *(_QWORD *)(v18 + 696) = v13; sub_10001B680(*(__int64 **)(v12 + 704), (__int64 *)v11); ++*(_QWORD *)(v12 + 712); if ( (v11[40] & 1) != 0 ) LABEL_17: operator delete(*((void **)v11 + 7)); LABEL_4: v4 = v11 + 40; *((_QWORD *)v4 + 2) = v15; *(_OWORD *)v4 = v14; ++v3; } while ( v3 <= v17 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source