// // LevelInfoLayer::numberInputClosed from 0x1002b1240 to 0x1002b1364 (292 bytes) // // 2 xrefs: // > sub_1002B13B0 @ 0x1002b13bc // > @ 0x100b0e2d0 // // 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:28:01 +0000 // void __fastcall LevelInfoLayer::numberInputClosed(__int64 a1, __int64 a2) { char **v2; // rsi char *v3; // r14 unsigned __int64 v4; // rdx int v5; // r15d int v6; // eax __int64 v7; // rdx int v8; // ecx __int64 v9; // r14 void *v10[3]; // [rsp+8h] [rbp-48h] BYREF __int128 v11; // [rsp+20h] [rbp-30h] BYREF char *v12; // [rsp+30h] [rbp-20h] if ( (*(_BYTE *)(a2 + 720) & 1) != 0 ) { v4 = *(_QWORD *)(a2 + 728); v2 = *(char ***)(a2 + 736); sub_10001AD30(&v11, v2, v4); if ( (v11 & 1) != 0 ) goto LABEL_3; LABEL_5: v3 = (char *)&v11 + 1; goto LABEL_6; } v2 = (char **)(a2 + 720); v12 = v2[2]; v11 = *(_OWORD *)v2; if ( (v11 & 1) == 0 ) goto LABEL_5; LABEL_3: v3 = v12; LABEL_6: v5 = atoi(v3) + 1000000; v6 = atoi(v3); v7 = *(_QWORD *)(a1 + 504); v8 = *(_DWORD *)(v7 + 980) - *(_DWORD *)(v7 + 984); if ( v5 == v8 || v6 + 10000 == v8 ) { LevelInfoLayer::confirmClone(a1, (__int64)v2, v7); } else { strcpy((char *)v10, "&Incorrect password!"); v9 = FLAlertLayer::create_1(0, "Error", v10, "OK", 0, 300.0); if ( ((__int64)v10[0] & 1) != 0 ) operator delete(v10[2]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); ++*(_DWORD *)(*(_QWORD *)(a1 + 504) + 1004LL); } if ( (v11 & 1) != 0 ) operator delete(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source