// // BrowseSmartTemplateLayer::create from 0x1004e8590 to 0x1004e86cd (317 bytes) // // 2 xrefs: // > SetupSmartTemplateLayer::onClick @ 0x1004e849b // > BrowseSmartKeyLayer::onBack @ 0x1004ebfad // // 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 // BrowseSmartTemplateLayer *__fastcall BrowseSmartTemplateLayer::create(GJSmartTemplate *a1, SmartBrowseFilter a2) { char *v2; // rbx SmartBrowseFilter v3; // edx v2 = (char *)operator new(0x2A8u); cocos2d::CCLayerColor::CCLayerColor((__int64)v2); *((_QWORD *)v2 + 72) = 0; *((_DWORD *)v2 + 146) = 0; v2[588] = 0; *((_OWORD *)v2 + 34) = 0; *(_OWORD *)(v2 + 553) = 0; *((_OWORD *)v2 + 37) = 0; *((_QWORD *)v2 + 76) = 0; *((_DWORD *)v2 + 154) = -1; *((_WORD *)v2 + 310) = 0; *((_DWORD *)v2 + 156) = -1; v2[628] = 0; *(_QWORD *)v2 = off_100957050; *((_QWORD *)v2 + 40) = off_100957578; *((_QWORD *)v2 + 41) = &off_1009575E8; *((_QWORD *)v2 + 42) = off_100957600; *((_QWORD *)v2 + 43) = off_100957620; *((_QWORD *)v2 + 44) = off_100957640; *((_QWORD *)v2 + 51) = off_100957668; *((_QWORD *)v2 + 54) = off_1009576E8; *(_OWORD *)(v2 + 632) = 0; *((_DWORD *)v2 + 162) = 0; *((_OWORD *)v2 + 41) = 0; *((_QWORD *)v2 + 84) = 0; if ( BrowseSmartTemplateLayer::init((BrowseSmartTemplateLayer *)v2, a1, v3) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (BrowseSmartTemplateLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source