// // BrowseSmartKeyLayer::createTemplateObjects from 0x67411c to 0x6741fc (224 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::onButton @ 0x67422c // // 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 // int __fastcall BrowseSmartKeyLayer::createTemplateObjects(cocos2d::CCArray **this) { cocos2d::CCArray *AllSelectedBlocks; // r6 int result; // r0 unsigned int i; // r5 int v5; // r9 int v6; // r0 void (__fastcall *v7)(cocos2d::CCArray **, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v8; // r0 int v9[3]; // [sp+Ch] [bp-1Ch] BYREF int v10[3]; // [sp+18h] [bp-10h] BYREF AllSelectedBlocks = BrowseSmartKeyLayer::getAllSelectedBlocks(this); result = cocos2d::CCArray::count(AllSelectedBlocks); if ( result ) { for ( i = 0; i < cocos2d::CCArray::count(AllSelectedBlocks); ++i ) { v5 = cocos2d::CCArray::objectAtIndex(AllSelectedBlocks, i); std::string::basic_string(v10, (int)(this + 136)); v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 32))(v5); BrowseSmartTemplateLayer::createPrefab((GameManager *)this, (int)v10, v6); std::string::~string((int)v10); } v7 = *((void (__fastcall **)(cocos2d::CCArray **, cocos2d::CCNode *, int))*this + 58); memset(v9, 0, sizeof(v9)); std::string::__init(v9, "Added to editor", 0xFu); memset(v10, 0, sizeof(v10)); std::string::__init(v10, &unk_B6B226, 0); v8 = TextAlertPopup::create((int)v9, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v10); v7(this, v8, 100); std::string::~string((int)v10); return std::string::~string((int)v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source