// // GJRequestCell::loadFromScore from 0x10012f000 to 0x10012f324 (804 bytes) // // 1 xrefs: // > CustomListView::loadCell @ 0x1001261cc // // 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 10:59:22 +0000 // __int64 __fastcall GJRequestCell::loadFromScore(__int64 a1, __int64 a2) { __int64 result; // x0 _DWORD *v5; // x0 __int64 v6; // x20 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x21 const char *v11; // x22 void *v12; // x9 __int64 v13; // x22 __int64 v14; // x22 __n128 v15; // q0 __int64 v16; // x22 __int64 v17; // x23 __int64 v18; // x0 __int64 v19; // x20 void *__p[2]; // [xsp+0h] [xbp-60h] BYREF __int64 v21; // [xsp+10h] [xbp-50h] result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); if ( a2 ) { cocos2d::CCObject::retain(a2); v5 = *(_DWORD **)(a1 + 552); if ( v5 ) cocos2d::CCObject::release(v5); *(_QWORD *)(a1 + 552) = a2; *(_BYTE *)(a1 + 568) = *(_DWORD *)(a2 + 688) == 4; v6 = sub_100270434(0); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v6 + 184LL))(v6, &unk_1009F3C10); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v6); GJCompactUserCell::buildUserRow( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 536), v6, a1, GJRequestCell::onViewProfile, 0, 0, 0, *(float *)(a1 + 524) * 0.5); if ( *(_BYTE *)(a1 + 568) == 1 ) { v7 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 480LL))(*(_QWORD *)(a1 + 536), 100); if ( v7 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 528LL))(v7, 1); } v8 = GameLevelManager::sharedState(); v9 = GameLevelManager::friendRequestFromAccountID(v8, *(_DWORD *)(*(_QWORD *)(a1 + 552) + 376LL)); v10 = v9; v11 = "accountBtn_requests_001.png"; if ( v9 ) { if ( *(char *)(v9 + 351) < 0 ) { sub_1000097D0(__p, *(void **)(v9 + 328), *(_QWORD *)(v9 + 336)); } else { *(_OWORD *)__p = *(_OWORD *)(v9 + 328); v21 = *(_QWORD *)(v9 + 344); } v12 = __p[1]; if ( v21 >= 0 ) v12 = (void *)SHIBYTE(v21); if ( v12 ) v11 = "accountBtn_messages_001.png"; if ( (SHIBYTE(v21) & 0x8000000000000000LL) != 0 ) operator delete(__p[0]); } v13 = cocos2d::CCSprite::createWithSpriteFrameName(v11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 160LL))(v13, 0.55); v14 = CCMenuItemSpriteExtra::create(v13, 0, a1, GJRequestCell::onViewFriendRequest, 0); v15 = CCMenuItemSpriteExtra::setSizeMult(1.6); (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v6 + 456LL))(v6, v14, v15); sub_1000262BC((float *)__p, *(float *)(a1 + 520) + -52.0, *(float *)(a1 + 524) * 0.5); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v14 + 184LL))(v14, __p); v16 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); v17 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.7); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v17 + 160LL))(v17, 0.7); v18 = CCMenuItemToggler::create(v17, v16, a1, sub_10013A030, 0); *(_QWORD *)(a1 + 560) = v18; CCMenuItemToggler::toggle(v18, *(unsigned __int8 *)(*(_QWORD *)(a1 + 552) + 725LL)); CCMenuItemToggler::setSizeMult(*(_QWORD *)(a1 + 560), 1.3); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 456LL))(v6, *(_QWORD *)(a1 + 560)); v19 = *(_QWORD *)(a1 + 560); sub_1000262BC((float *)__p, *(float *)(a1 + 520) + -22.0, *(float *)(a1 + 524) * 0.5); result = (*(__int64 (__fastcall **)(__int64, void **))(*(_QWORD *)v19 + 184LL))(v19, __p); if ( v10 ) { if ( *(_BYTE *)(v10 + 377) == 1 ) return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 560) + 344LL))(*(_QWORD *)(a1 + 560), 0); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source