// // GJLocalLevelScoreCell::loadFromScore from 0x100231860 to 0x100231a4a (490 bytes) // // 1 xrefs: // > CustomListView::loadCell @ 0x10022820f // // 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:27:10 +0000 // void __fastcall GJLocalLevelScoreCell::loadFromScore(__int64 a1, __int64 a2) { const char *v3; // rsi __int64 v4; // r15 __int64 v5; // r14 char *v6; // rdi __int64 v7; // r14 __int128 v8; // [rsp+0h] [rbp-50h] BYREF void *data; // [rsp+10h] [rbp-40h] std::string __dst; // [rsp+18h] [rbp-38h] BYREF _BYTE v11[32]; // [rsp+30h] [rbp-20h] BYREF (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); *(_QWORD *)(a1 + 552) = a2; if ( *(_DWORD *)(a2 + 60) ) GameToolbox::pointsToString(&__dst); else GameToolbox::msToTimeString(&__dst); data = __dst.__r_.__value_.__l.__data_; v8 = *(_OWORD *)&__dst.__r_.__value_.__l.0; v3 = "GJ_timeIcon_001.png"; if ( *(_DWORD *)(*(_QWORD *)(a1 + 552) + 60LL) == 1 ) v3 = "GJ_pointsIcon_001.png"; v4 = 2 * (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 552) + 60LL) == 1); __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * (2 * (*(_DWORD *)(*(_QWORD *)(a1 + 552) + 60LL) == 1) + 19)); memcpy((char *)&__dst.__r_.__value_.__l.0 + 1, v3, v4 + 19); *((_BYTE *)&__dst.__r_.__value_.__r.__words[2] + v4 + 4) = 0; v5 = cocos2d::CCSprite::createWithSpriteFrameName((char *)&__dst.__r_.__value_.__l.0 + 1); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, 0.55000001); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v5, 20); sub_100278250(v11, 20.0, *(float *)(a1 + 524) * 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL))(v5, v11); if ( (v8 & 1) != 0 ) v6 = (char *)data; else v6 = (char *)&v8 + 1; v7 = cocos2d::CCLabelBMFont::create_3(v6, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v7, 2); sub_100278250(v11, 0.0, 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 296LL))(v7, v11); cocos2d::CCLabelBMFont::limitLabelWidth(v7, 200.0, 0.46000001, 0.0); sub_100278250(v11, 40.0, (float)(*(float *)(a1 + 524) * 0.5) + 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL))(v7, v11); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( (v8 & 1) != 0 ) operator delete(data); }
GD Web Decomp Icon

GD Web Decomp

Raw Source