// // AccountRegisterLayer::updateLabel from 0x98f960 to 0x98fb40 (480 bytes) // // 12 xrefs: // > AccountRegisterLayer::registerAccountFailed @ 0x98ffb0 // > AccountRegisterLayer::textInputClosed @ 0x993b78 // > AccountRegisterLayer::textInputClosed @ 0x993c5c // > AccountRegisterLayer::textInputClosed @ 0x993d60 // > AccountRegisterLayer::textInputClosed @ 0x993dc8 // > AccountRegisterLayer::textChanged @ 0x9940ec // > AccountRegisterLayer::textChanged @ 0x994218 // > AccountRegisterLayer::onSubmit @ 0x994604 // > AccountRegisterLayer::onSubmit @ 0x994620 // > AccountRegisterLayer::onSubmit @ 0x9946b8 // > AccountRegisterLayer::onSubmit @ 0x994770 // > @ 0xb8fd8 // // 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 12:57:58 +0000 // __int64 __fastcall AccountRegisterLayer::updateLabel(__int64 a1, int a2) { __int64 v3; // x2 const char *v4; // x1 __int64 v5; // x2 __int64 v7; // x2 const char *v8; // x1 __int64 *v9; // x0 __int64 v10; // x2 void (__fastcall *v11)(__int64 *, _BYTE *); // x2 __int64 v12; // x2 const char *v13; // x1 _BYTE v14[8]; // [xsp+20h] [xbp+20h] BYREF switch ( a2 ) { case -99: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 760) + 928LL))( *(_QWORD *)(a1 + 760), "Emails do not match"); v5 = *(_QWORD *)(a1 + 760); goto LABEL_4; case -15: v7 = *(_QWORD *)(a1 + 736); v8 = "Too common"; goto LABEL_10; case -14: v7 = *(_QWORD *)(a1 + 736); v8 = "Invalid characters"; goto LABEL_10; case -9: v3 = *(_QWORD *)(a1 + 720); v4 = "Too short. Minimum 3 characters"; goto LABEL_3; case -8: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 736) + 928LL))( *(_QWORD *)(a1 + 736), "Minimum 8 characters"); v9 = *(__int64 **)(a1 + 736); v10 = *v9; v14[0] = 120; v14[1] = -86; v11 = *(void (__fastcall **)(__int64 *, _BYTE *))(v10 + 1072); v14[2] = -16; v11(v9, v14); return _stack_chk_guard; case -7: (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 744) + 928LL))( *(_QWORD *)(a1 + 744), "Passwords do not match"); v5 = *(_QWORD *)(a1 + 744); goto LABEL_4; case -6: v12 = *(_QWORD *)(a1 + 752); v13 = "Cannot use this email"; goto LABEL_16; case -5: v7 = *(_QWORD *)(a1 + 736); v8 = "Password is invalid"; LABEL_10: (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 928LL))(v7, v8); v5 = *(_QWORD *)(a1 + 736); goto LABEL_4; case -4: v3 = *(_QWORD *)(a1 + 720); v4 = "Username is invalid"; goto LABEL_3; case -3: v12 = *(_QWORD *)(a1 + 752); v13 = "Email is already in use"; LABEL_16: (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v12 + 928LL))(v12, v13); v5 = *(_QWORD *)(a1 + 752); goto LABEL_4; case -2: v3 = *(_QWORD *)(a1 + 720); v4 = "Username is already in use"; goto LABEL_3; default: v3 = *(_QWORD *)(a1 + 720); v4 = "Something went wrong."; LABEL_3: (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL))(v3, v4); v5 = *(_QWORD *)(a1 + 720); LABEL_4: (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v5 + 1072LL))(v5, &unk_116B4B0); return _stack_chk_guard; } }