// // GJAccountSettingsLayer::updateScoreValues from 0x140294250 to 0x14029452b (731 bytes) // // 2 xrefs: // > UpdateAccountSettingsPopup::onClose @ 0x140295127 // > @ 0x1406d1b2c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void GJAccountSettingsLayer::updateScoreValues(GJAccountSettingsLayer *a1) { __int64 v2; // rcx struct cocos2d::CCObject *v3; // rax void **v4; // rdi __int64 *p_m_links; // rsi __int64 v6; // rax __int64 v7; // rax __int64 v8; // rbx void *v9; // rdx __int64 v10; // rax __int64 v11; // rax __int64 v12; // rbx void *v13; // rdx __int64 v14; // rax __int64 v15; // rax __int64 v16; // rbx void *v17; // rdx __int64 v18; // rax __int64 v19; // rax __int64 v20; // rbx void *v21; // rdx __int64 v22; // rax __int64 v23; // rax __int64 v24; // rbx void *v25; // rdx __int64 v26; // rax __int64 v27; // rax __int64 v28; // rbx void *v29; // rdx __int64 v30; // rax __int64 v31; // rax __int64 v32; // rbx void *v33; // rdx _BYTE v34[32]; // [rsp+20h] [rbp-20h] BYREF void *v35; // [rsp+60h] [rbp+20h] BYREF __int64 v36; // [rsp+68h] [rbp+28h] v2 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v35 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v35); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v2 = qword_1406C2EC0; } v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v2 + 600), a1->m_accountID); v4 = (void **)&v3->__vftable; if ( v3 ) { HIDWORD(v3[8].__vftable) = a1->m_messageStatus; v3[8].m_uID = a1->m_friendStatus; v3[8].m_nLuaID = a1->m_commentHistoryStatus; LODWORD(v35) = 0; p_m_links = (__int64 *)&a1->m_links; v6 = sub_1401D0660((__int64 *)&a1->m_links, (int *)&v35); v7 = sub_14003BDB0((__int64)v34, v6); v8 = v7; v36 = v7; if ( v4 + 58 != (void **)v7 ) { v9 = (void *)v7; if ( *(_QWORD *)(v7 + 24) > 0xFu ) v9 = *(void **)v7; sub_14003CCE0(v4 + 58, v9, *(_QWORD *)(v7 + 16)); } sub_14003A830(v8); LODWORD(v35) = 1; v10 = sub_1401D0660(p_m_links, (int *)&v35); v11 = sub_14003BDB0((__int64)v34, v10); v12 = v11; v36 = v11; if ( v4 + 62 != (void **)v11 ) { v13 = (void *)v11; if ( *(_QWORD *)(v11 + 24) > 0xFu ) v13 = *(void **)v11; sub_14003CCE0(v4 + 62, v13, *(_QWORD *)(v11 + 16)); } sub_14003A830(v12); LODWORD(v35) = 2; v14 = sub_1401D0660(p_m_links, (int *)&v35); v15 = sub_14003BDB0((__int64)v34, v14); v16 = v15; v36 = v15; if ( v4 + 66 != (void **)v15 ) { v17 = (void *)v15; if ( *(_QWORD *)(v15 + 24) > 0xFu ) v17 = *(void **)v15; sub_14003CCE0(v4 + 66, v17, *(_QWORD *)(v15 + 16)); } sub_14003A830(v16); LODWORD(v35) = 3; v18 = sub_1401D0660(p_m_links, (int *)&v35); v19 = sub_14003BDB0((__int64)v34, v18); v20 = v19; v36 = v19; if ( v4 + 74 != (void **)v19 ) { v21 = (void *)v19; if ( *(_QWORD *)(v19 + 24) > 0xFu ) v21 = *(void **)v19; sub_14003CCE0(v4 + 74, v21, *(_QWORD *)(v19 + 16)); } sub_14003A830(v20); LODWORD(v35) = 4; v22 = sub_1401D0660(p_m_links, (int *)&v35); v23 = sub_14003BDB0((__int64)v34, v22); v24 = v23; v36 = v23; if ( v4 + 78 != (void **)v23 ) { v25 = (void *)v23; if ( *(_QWORD *)(v23 + 24) > 0xFu ) v25 = *(void **)v23; sub_14003CCE0(v4 + 78, v25, *(_QWORD *)(v23 + 16)); } sub_14003A830(v24); LODWORD(v35) = 5; v26 = sub_1401D0660(p_m_links, (int *)&v35); v27 = sub_14003BDB0((__int64)v34, v26); v28 = v27; v36 = v27; if ( v4 + 70 != (void **)v27 ) { v29 = (void *)v27; if ( *(_QWORD *)(v27 + 24) > 0xFu ) v29 = *(void **)v27; sub_14003CCE0(v4 + 70, v29, *(_QWORD *)(v27 + 16)); } sub_14003A830(v28); LODWORD(v35) = 6; v30 = sub_1401D0660(p_m_links, (int *)&v35); v31 = sub_14003BDB0((__int64)v34, v30); v32 = v31; v36 = v31; if ( v4 + 82 != (void **)v31 ) { v33 = (void *)v31; if ( *(_QWORD *)(v31 + 24) > 0xFu ) v33 = *(void **)v31; sub_14003CCE0(v4 + 82, v33, *(_QWORD *)(v31 + 16)); } sub_14003A830(v32); } }