// // fmt::internal::Array::grow from 0x2e03f0 to 0x2e0428 (56 bytes) // // 22 xrefs: // > fmt::BasicWriter::GrowBuffer @ 0x2e0438 // > fmt::BasicWriter::PrepareBufferForInt @ 0x2e04dc // > fmt::BasicWriter::PrepareBufferForInt @ 0x2e053e // > fmt::BasicWriter::PrepareBufferForInt @ 0x2e056a // > AchievementManager::achievementForUnlock @ 0x2e07f4 // > CCPartAnimSprite::initWithAnimDesc @ 0x2e78d2 // > fmt::BasicWriter::c_str @ 0x2eeb8a // > SpriteAnimationManager::loadAnimations @ 0x2f3d72 // > PlayLayer::updateInfoLabel @ 0x31b9e6 // > getFrameForStreak @ 0x34ec66 // > EditorUI::copyObjects @ 0x3a6606 // > SimplePlayer::init @ 0x4043c0 // > GJBigSprite::init @ 0x50f632 // > GameObject::perspectiveFrame @ 0x51194e // > printTheArray @ 0x53c80a // > GJSmartTemplate::keyFromNeighborsOld @ 0x53cc60 // > SecretRewardsLayer::generateChestItems @ 0x58994c // > DS_Dictionary::setFloatForKey @ 0x5ffd3e // > DS_Dictionary::setIntegerForKey @ 0x5ffeca // > fmt::internal::Array::reserve @ 0x60bdfc // > fmt::internal::Array::append @ 0x60be16 // > fmt::internal::FormatSystemErrorMessage @ 0x60ca82 // // 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 fmt::internal::Array::grow(int a1, unsigned int a2) { unsigned int v3; // r0 void *v4; // r5 void *v5; // r0 v3 = *(_DWORD *)(a1 + 4) + (*(_DWORD *)(a1 + 4) >> 1); if ( v3 < a2 ) v3 = a2; *(_DWORD *)(a1 + 4) = v3; v4 = (void *)operator new[](v3); std::__copy_move::__copy_m( *(_BYTE **)(a1 + 8), (_BYTE *)(*(_DWORD *)a1 + *(_DWORD *)(a1 + 8)), v4); v5 = *(void **)(a1 + 8); if ( v5 != (void *)(a1 + 12) && v5 ) operator delete[](v5); *(_DWORD *)(a1 + 8) = v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source