// // BrowseSmartKeyLayer::addChanceToSelected from 0x673f7c to 0x674020 (164 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::onButton @ 0x67424c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:54 +0000 // unsigned int __fastcall BrowseSmartKeyLayer::addChanceToSelected(cocos2d::CCArray **this, int a2, int a3) { char *v5; // r10 unsigned int v6; // r4 cocos2d::CCArray *AllSelectedBlocks; // r7 int v8; // r0 int v9; // r11 int v10; // r0 int PrefabWithID; // r11 int v12; // r3 int v14; // [sp+0h] [bp-1Ch] int v16[3]; // [sp+8h] [bp-14h] BYREF v5 = (char *)(this + 136); v6 = 0; AllSelectedBlocks = BrowseSmartKeyLayer::getAllSelectedBlocks(this); while ( v6 < cocos2d::CCArray::count(AllSelectedBlocks) ) { v8 = cocos2d::CCArray::objectAtIndex(AllSelectedBlocks, v6); v14 = (int)*(this + 130); v9 = v8; std::string::basic_string(v16, (int)v5); v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 32))(v9); PrefabWithID = GJSmartTemplate::getPrefabWithID(v14, (int)v16, v10); std::string::~string((int)v16); if ( PrefabWithID ) { if ( a3 ) v12 = 0; else v12 = *(_DWORD *)(PrefabWithID + 80) + a2; *(_DWORD *)(PrefabWithID + 80) = v12; } ++v6; } return BrowseSmartKeyLayer::updateChanceValues((BrowseSmartKeyLayer *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source