// // GJUserScore::create from 0x3ca658 to 0x3cb172 (2842 bytes) // // 5 xrefs: // > GameLevelManager::createAndGetScores @ 0x3cb2bc // > GameLevelManager::onGetUserListCompleted @ 0x3cb796 // > GameLevelManager::onGetGJUserInfoCompleted @ 0x3cbc0e // > GameLevelManager::onGetFriendRequestsCompleted @ 0x3cbdf6 // > GameLevelManager::createAndGetCommentsFull @ 0x3cd508 // // 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 // GJUserScore *GJUserScore::create() { GJUserScore *result; // r0 cocos2d::CCDictionary *v1; // r4 cocos2d::CCString *v2; // r0 char *CString; // r0 cocos2d::CCString *v4; // r0 char *v5; // r0 cocos2d::CCString *v6; // r0 cocos2d::CCString *v7; // r0 cocos2d::CCString *v8; // r0 cocos2d::CCString *v9; // r0 cocos2d::CCString *v10; // r0 cocos2d::CCString *v11; // r0 cocos2d::CCString *v12; // r0 cocos2d::CCString *v13; // r0 cocos2d::CCString *v14; // r0 cocos2d::CCString *v15; // r0 cocos2d::CCString *v16; // r0 cocos2d::CCString *v17; // r0 cocos2d::CCString *v18; // r0 cocos2d::CCString *v19; // r0 int v20; // r11 cocos2d::CCString *v21; // r0 int v22; // r10 cocos2d::CCString *v23; // r0 int v24; // r9 cocos2d::CCString *v25; // r0 bool v26; // r8 cocos2d::CCString *v27; // r0 int v28; // r7 GJUserScore *v29; // r0 GJUserScore *v30; // r5 cocos2d::CCString *v31; // r0 char *v32; // r0 cocos2d::CCString *v33; // r0 _BOOL4 v34; // r8 cocos2d::CCString *v35; // r0 int v36; // r11 cocos2d::CCString *v37; // r0 cocos2d::CCString *v38; // r0 char *v39; // r0 cocos2d::CCString *v40; // r0 char *v41; // r0 cocos2d::CCString *v42; // r0 char *v43; // r0 cocos2d::CCString *v44; // r0 cocos2d::CCString *v45; // r0 cocos2d::CCString *v46; // r0 cocos2d::CCString *v47; // r0 cocos2d::CCString *v48; // r0 cocos2d::CCString *v49; // r0 cocos2d::CCString *v50; // r0 cocos2d::CCString *v51; // r0 cocos2d::CCString *v52; // r0 cocos2d::CCString *v53; // r0 cocos2d::CCString *v54; // r0 cocos2d::CCString *v55; // r0 bool v56; // r8 cocos2d::CCString *v57; // r0 cocos2d::CCString *v58; // r0 int v59; // r10 cocos2d::CCString *v60; // r0 int v61; // r9 cocos2d::CCString *v62; // r0 cocos2d::CCString *v63; // r0 int v64; // r7 cocos2d::CCString *v65; // r0 int v66; // r6 cocos2d::CCString *v67; // r0 char *v68; // r0 cocos2d::CCString *v69; // r0 char *v70; // r0 cocos2d::CCString *v71; // r0 char *v72; // r0 cocos2d::CCString *v73; // r0 char *v74; // r0 cocos2d::CCString *v75; // r0 char *v76; // r0 cocos2d::CCString *v77; // r0 char *v78; // r0 cocos2d::CCString *v79; // r0 char *v80; // r0 int v81; // [sp+4h] [bp-150h] int v82; // [sp+4h] [bp-150h] int v83; // [sp+8h] [bp-14Ch] int v84; // [sp+8h] [bp-14Ch] int v85; // [sp+Ch] [bp-148h] int v86; // [sp+Ch] [bp-148h] int v87; // [sp+10h] [bp-144h] int v88; // [sp+10h] [bp-144h] int v89; // [sp+14h] [bp-140h] int v90; // [sp+14h] [bp-140h] int v91; // [sp+18h] [bp-13Ch] int v92; // [sp+18h] [bp-13Ch] int v93; // [sp+1Ch] [bp-138h] int v94; // [sp+1Ch] [bp-138h] int v95; // [sp+20h] [bp-134h] int v96; // [sp+20h] [bp-134h] int v97; // [sp+24h] [bp-130h] int v98; // [sp+24h] [bp-130h] int v99; // [sp+28h] [bp-12Ch] int v100; // [sp+28h] [bp-12Ch] int v101; // [sp+2Ch] [bp-128h] int v102; // [sp+2Ch] [bp-128h] int v103; // [sp+30h] [bp-124h] int v104; // [sp+30h] [bp-124h] int v105; // [sp+34h] [bp-120h] int v106; // [sp+34h] [bp-120h] int v107; // [sp+38h] [bp-11Ch] _BYTE v108[4]; // [sp+44h] [bp-110h] BYREF _BYTE v109[4]; // [sp+48h] [bp-10Ch] BYREF std::string v110; // [sp+4Ch] [bp-108h] BYREF std::string v111; // [sp+50h] [bp-104h] BYREF std::string v112; // [sp+54h] [bp-100h] BYREF std::string v113; // [sp+58h] [bp-FCh] BYREF std::string v114; // [sp+5Ch] [bp-F8h] BYREF std::string v115; // [sp+60h] [bp-F4h] BYREF std::string v116; // [sp+64h] [bp-F0h] BYREF std::string v117; // [sp+68h] [bp-ECh] BYREF std::string v118; // [sp+6Ch] [bp-E8h] BYREF std::string v119; // [sp+70h] [bp-E4h] BYREF std::string v120; // [sp+74h] [bp-E0h] BYREF std::string v121; // [sp+78h] [bp-DCh] BYREF std::string v122; // [sp+7Ch] [bp-D8h] BYREF std::string v123; // [sp+80h] [bp-D4h] BYREF std::string v124; // [sp+84h] [bp-D0h] BYREF std::string v125; // [sp+88h] [bp-CCh] BYREF std::string v126; // [sp+8Ch] [bp-C8h] BYREF std::string v127; // [sp+90h] [bp-C4h] BYREF std::string v128; // [sp+94h] [bp-C0h] BYREF _BYTE v129[4]; // [sp+98h] [bp-BCh] BYREF _BYTE v130[4]; // [sp+9Ch] [bp-B8h] BYREF std::string v131; // [sp+A0h] [bp-B4h] BYREF _BYTE v132[4]; // [sp+A4h] [bp-B0h] BYREF std::string v133; // [sp+A8h] [bp-ACh] BYREF std::string v134; // [sp+ACh] [bp-A8h] BYREF std::string v135; // [sp+B0h] [bp-A4h] BYREF std::string v136; // [sp+B4h] [bp-A0h] BYREF std::string v137; // [sp+B8h] [bp-9Ch] BYREF std::string v138; // [sp+BCh] [bp-98h] BYREF std::string v139; // [sp+C0h] [bp-94h] BYREF std::string v140; // [sp+C4h] [bp-90h] BYREF std::string v141; // [sp+C8h] [bp-8Ch] BYREF std::string v142; // [sp+CCh] [bp-88h] BYREF std::string v143; // [sp+D0h] [bp-84h] BYREF std::string v144; // [sp+D4h] [bp-80h] BYREF std::string v145; // [sp+D8h] [bp-7Ch] BYREF std::string v146; // [sp+DCh] [bp-78h] BYREF std::string v147; // [sp+E0h] [bp-74h] BYREF std::string v148; // [sp+E4h] [bp-70h] BYREF std::string v149; // [sp+E8h] [bp-6Ch] BYREF std::string v150; // [sp+ECh] [bp-68h] BYREF std::string v151; // [sp+F0h] [bp-64h] BYREF std::string v152; // [sp+F4h] [bp-60h] BYREF std::string v153; // [sp+F8h] [bp-5Ch] BYREF std::string v154; // [sp+FCh] [bp-58h] BYREF std::string v155; // [sp+100h] [bp-54h] BYREF std::string v156; // [sp+104h] [bp-50h] BYREF _BYTE v157[4]; // [sp+108h] [bp-4Ch] BYREF _BYTE v158[4]; // [sp+10Ch] [bp-48h] BYREF _BYTE v159[4]; // [sp+110h] [bp-44h] BYREF std::string v160; // [sp+114h] [bp-40h] BYREF _BYTE v161[4]; // [sp+118h] [bp-3Ch] BYREF std::string v162; // [sp+11Ch] [bp-38h] BYREF _BYTE v163[4]; // [sp+120h] [bp-34h] BYREF std::string v164; // [sp+124h] [bp-30h] BYREF _BYTE v165[4]; // [sp+128h] [bp-2Ch] BYREF std::string v166; // [sp+12Ch] [bp-28h] BYREF _BYTE v167[4]; // [sp+130h] [bp-24h] BYREF std::string v168; // [sp+134h] [bp-20h] BYREF _BYTE v169[4]; // [sp+138h] [bp-1Ch] BYREF std::string v170; // [sp+13Ch] [bp-18h] BYREF _BYTE v171[4]; // [sp+140h] [bp-14h] BYREF std::string v172; // [sp+144h] [bp-10h] BYREF std::string v173; // [sp+148h] [bp-Ch] BYREF v1 = (cocos2d::CCDictionary *)result; if ( result ) { sub_776584((int)&v173, (char *)&aO1i2r3e45s7t89[1]); v2 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v173); CString = (char *)cocos2d::CCString::getCString(v2); sub_776584((int)v108, CString); sub_774008(&v173); sub_776584((int)&v110, (char *)&aO1i2r3e45s7t89[10]); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v110); v5 = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)v109, v5); sub_774008(&v110); sub_776584((int)&v111, (char *)&aO1i2r3e45s7t89[3]); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v111); v81 = cocos2d::CCString::intValue(v6); sub_774008(&v111); sub_776584((int)&v112, (char *)&aO1i2r3e45s7t89[5]); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v112); v83 = cocos2d::CCString::intValue(v7); sub_774008(&v112); sub_776584((int)&v113, (char *)&aO1i2r3e45s7t89[7]); v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v113); v85 = cocos2d::CCString::intValue(v8); sub_774008(&v113); sub_776584((int)&v114, "6"); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v114); v87 = cocos2d::CCString::intValue(v9); sub_774008(&v114); sub_776584((int)&v115, (char *)&aO1i2r3e45s7t89[12]); v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v115); v89 = cocos2d::CCString::intValue(v10); sub_774008(&v115); sub_776584((int)&v116, "13"); v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v116); v91 = cocos2d::CCString::intValue(v11); sub_774008(&v116); sub_776584((int)&v117, "17"); v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v117); v93 = cocos2d::CCString::intValue(v12); sub_774008(&v117); sub_776584((int)&v118, "46"); v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v118); v95 = cocos2d::CCString::intValue(v13); sub_774008(&v118); sub_776584((int)&v119, "52"); v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v119); v97 = cocos2d::CCString::intValue(v14); sub_774008(&v119); sub_776584((int)&v120, (char *)&aO1i2r3e45s7t89[13]); v15 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v120); v99 = cocos2d::CCString::intValue(v15); sub_774008(&v120); sub_776584((int)&v121, "10"); v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v121); v101 = cocos2d::CCString::intValue(v16); sub_774008(&v121); sub_776584((int)&v122, "11"); v17 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v122); v103 = cocos2d::CCString::intValue(v17); sub_774008(&v122); sub_776584((int)&v123, "51"); v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v123); v105 = cocos2d::CCString::intValue(v18); sub_774008(&v123); sub_776584((int)&v124, "14"); v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v124); v20 = cocos2d::CCString::intValue(v19); sub_774008(&v124); sub_776584((int)&v125, "15"); v21 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v125); v22 = cocos2d::CCString::intValue(v21); sub_774008(&v125); sub_776584((int)&v126, "16"); v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v126); v24 = cocos2d::CCString::intValue(v23); sub_774008(&v126); sub_776584((int)&v127, "41"); v25 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v127); v26 = cocos2d::CCString::boolValue(v25); sub_774008(&v127); sub_776584((int)&v128, "18"); v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v128); v28 = cocos2d::CCString::intValue(v27); v29 = (GJUserScore *)sub_774008(&v128); v30 = GJUserScore::create(v29); sub_775C20(v129, v108); sub_775D40(&v30->m_userName, v129); sub_774008(v129); sub_775C20(v130, v109); sub_775D40(&v30->m_userUDID, v130); sub_774008(v130); v30->m_special = v22; v30->m_messageState = v28; v30->m_userID = v81; v30->m_iconType = v20; v30->m_stars = v83; v30->m_accountID = v24; v30->m_newFriendRequest = v26; v30->m_moons = v97; v30->m_demons = v85; v30->m_playerRank = v87; v30->m_creatorPoints = v89; v30->m_secretCoins = v91; v30->m_userCoins = v93; v30->m_diamonds = v95; v30->m_iconID = v99; v30->m_color1 = v101; v30->m_color2 = v103; v30->m_color3 = v105; sub_776584((int)&v131, "42"); v31 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v131); v32 = (char *)cocos2d::CCString::getCString(v31); sub_776584((int)v132, v32); sub_775D40(&v30->m_unkString, v132); sub_774008(v132); sub_774008(&v131); sub_776584((int)&v133, "29"); v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v133); v34 = cocos2d::CCString::boolValue(v33); sub_774008(&v133); if ( v34 ) { sub_776584((int)&v134, "19"); v35 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v134); v36 = cocos2d::CCString::intValue(v35); sub_774008(&v134); sub_776584((int)&v135, "50"); v37 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v135); v82 = cocos2d::CCString::intValue(v37); sub_774008(&v135); sub_776584((int)&v137, "20"); v38 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v137); v39 = (char *)cocos2d::CCString::getCString(v38); sub_776584((int)&v134, v39); sub_774008(&v137); sub_776584((int)&v136, "44"); v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v136); v41 = (char *)cocos2d::CCString::getCString(v40); sub_776584((int)&v135, v41); sub_774008(&v136); sub_776584((int)&v138, "45"); v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v138); v43 = (char *)cocos2d::CCString::getCString(v42); sub_776584((int)&v137, v43); sub_774008(&v138); sub_776584((int)&v139, "21"); v44 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v139); v84 = cocos2d::CCString::intValue(v44); sub_774008(&v139); sub_776584((int)&v140, "22"); v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v140); v86 = cocos2d::CCString::intValue(v45); sub_774008(&v140); sub_776584((int)&v141, "23"); v46 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v141); v88 = cocos2d::CCString::intValue(v46); sub_774008(&v141); sub_776584((int)&v142, "24"); v47 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v142); v90 = cocos2d::CCString::intValue(v47); sub_774008(&v142); sub_776584((int)&v143, "25"); v48 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v143); v92 = cocos2d::CCString::intValue(v48); sub_774008(&v143); sub_776584((int)&v144, "26"); v49 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v144); v94 = cocos2d::CCString::intValue(v49); sub_774008(&v144); sub_776584((int)&v145, "43"); v50 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v145); v96 = cocos2d::CCString::intValue(v50); sub_774008(&v145); sub_776584((int)&v146, "48"); v51 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v146); v98 = cocos2d::CCString::intValue(v51); sub_774008(&v146); sub_776584((int)&v147, "53"); v52 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v147); v100 = cocos2d::CCString::intValue(v52); sub_774008(&v147); sub_776584((int)&v148, "54"); v53 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v148); v102 = cocos2d::CCString::intValue(v53); sub_774008(&v148); sub_776584((int)&v149, "27"); v54 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v149); v104 = cocos2d::CCString::intValue(v54); sub_774008(&v149); sub_776584((int)&v150, "28"); v55 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v150); v56 = cocos2d::CCString::boolValue(v55); sub_774008(&v150); sub_776584((int)&v151, "30"); v57 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v151); v106 = cocos2d::CCString::intValue(v57); sub_774008(&v151); sub_776584((int)&v152, "31"); v58 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v152); v59 = cocos2d::CCString::intValue(v58); sub_774008(&v152); sub_776584((int)&v153, "38"); v60 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v153); v61 = cocos2d::CCString::intValue(v60); sub_774008(&v153); sub_776584((int)&v154, "39"); v62 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v154); v107 = cocos2d::CCString::intValue(v62); sub_774008(&v154); sub_776584((int)&v155, "40"); v63 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v155); v64 = cocos2d::CCString::intValue(v63); sub_774008(&v155); sub_776584((int)&v156, "49"); v65 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v156); v66 = cocos2d::CCString::intValue(v65); sub_774008(&v156); v30->m_friendStatus = v36; v30->m_commentHistoryStatus = v82; sub_775C20(v157, &v134); sub_775D40(&v30->m_youtubeURL, v157); sub_774008(v157); sub_775C20(v158, &v135); sub_775D40(&v30->m_twitterURL, v158); sub_774008(v158); sub_775C20(v159, &v137); sub_775D40(&v30->m_twitchURL, v159); sub_774008(v159); sub_776584((int)&v160, "58"); v67 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v160); v68 = (char *)cocos2d::CCString::getCString(v67); sub_776584((int)v161, v68); sub_775D40(&v30->m_discordUsername, v161); sub_774008(v161); sub_774008(&v160); sub_776584((int)&v162, "59"); v69 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v162); v70 = (char *)cocos2d::CCString::getCString(v69); sub_776584((int)v163, v70); sub_775D40(&v30->m_instagramURL, v163); sub_774008(v163); sub_774008(&v162); sub_776584((int)&v164, "60"); v71 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v164); v72 = (char *)cocos2d::CCString::getCString(v71); sub_776584((int)v165, v72); sub_775D40(&v30->m_tiktokURL, v165); sub_774008(v165); sub_774008(&v164); sub_776584((int)&v166, "61"); v73 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v166); v74 = (char *)cocos2d::CCString::getCString(v73); sub_776584((int)v167, v74); sub_775D40(&v30->m_customString, v167); sub_774008(v167); sub_774008(&v166); v30->m_glowEnabled = v56; v30->m_modBadge = v66; v30->m_playerCube = v84; v30->m_friendReqStatus = v59; v30->m_playerShip = v86; v30->m_newMsgCount = v61; v30->m_newFriendCount = v64; v30->m_playerBall = v88; v30->m_playerUfo = v90; v30->m_playerWave = v92; v30->m_playerRobot = v94; v30->m_playerStreak = v104; v30->m_playerSpider = v96; v30->m_playerSwing = v100; v30->m_playerJetpack = v102; v30->m_playerExplosion = v98; v30->m_globalRank = v106; v30->m_friendReqCount = v107; sub_776584((int)&v168, "55"); v75 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v168); v76 = (char *)cocos2d::CCString::getCString(v75); sub_776584((int)v169, v76); sub_775D40(&v30->m_demonInfo, v169); sub_774008(v169); sub_774008(&v168); sub_776584((int)&v170, "56"); v77 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v170); v78 = (char *)cocos2d::CCString::getCString(v77); sub_776584((int)v171, v78); sub_775D40(&v30->m_starsInfo, v171); sub_774008(v171); sub_774008(&v170); sub_776584((int)&v172, "57"); v79 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v172); v80 = (char *)cocos2d::CCString::getCString(v79); sub_776584((int)&v173, v80); sub_775D40(&v30->m_platformerInfo, &v173); sub_774008(&v173); sub_774008(&v172); sub_774008(&v137); sub_774008(&v135); sub_774008(&v134); } sub_774008(v109); sub_774008(v108); return v30; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source