// // GJBaseGameLayer::refreshCounterLabels from 0x1001fc7cc to 0x1001fc92c (352 bytes) // // 1 xrefs: // > PlayLayer::resetLevel @ 0x1001222d0 // // 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 // void __fastcall GJBaseGameLayer::refreshCounterLabels(GJBaseGameLayer *a1) { std::__hash_node_base>, void *> *>::__next_pointer i; // x22 __int64 v3; // x0 __int128 v4; // kr00_16 _QWORD *p_next; // x24 std::__hash_node_base>, void *> *>::__next_pointer next; // x25 __int64 v7; // x20 std::string *v8; // x1 void *__p[2]; // [xsp+18h] [xbp-298h] BYREF char v10; // [xsp+2Fh] [xbp-281h] std::string v11; // [xsp+30h] [xbp-280h] BYREF int v12; // [xsp+4Ch] [xbp-264h] BYREF __int128 v13; // [xsp+50h] [xbp-260h] BYREF std::string::value_type *__s; // [xsp+60h] [xbp-250h] _BYTE v15[512]; // [xsp+68h] [xbp-248h] BYREF for ( i = a1->m_labelObjects.__table_.__p1_.__value_.__next_; i; i = i->__next_ ) { memset(&v11, 0, sizeof(v11)); v13 = xmmword_1006350E0; __s = v15; v3 = GJEffectManager::countForItem(a1->m_effectManager, (int)i[2].__next_); v12 = v3; sub_100009A40((int)&v13, v3, (int)&v12); v4 = v13; if ( *((_QWORD *)&v13 + 1) < (unsigned __int64)(v13 + 1) ) sub_100009ED4((__int64)&v13, v13 + 1); __s[v4] = 0; std::string::assign(&v11, __s); p_next = &i[3].__next_->__next_; next = i[4].__next_; while ( p_next != (_QWORD *)next ) { v7 = *p_next; if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v8 = &v11; else v8 = (std::string *)v11.__r_.__value_.__r.__words[0]; sub_100009900(__p, (char *)v8); LabelGameObject::updateLabel(v7, __p); if ( v10 < 0 ) operator delete(__p[0]); ++p_next; } if ( __s != v15 && __s ) operator delete[](__s); if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source