// // PlayLayer::addLiveStartPosObject from 0x406760 to 0x40686e (270 bytes) // // 1 xrefs: // > CreateStartPosPopup::onCreate @ 0x491e08 // // 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:47:28 +0000 // int __fastcall PlayLayer::addLiveStartPosObject(PlayLayer *this, StartPosObject *a2) { char *v2; // r6 size_t v5; // r0 char *v6; // r1 size_t v7; // r2 int v8; // r5 _DWORD v10[3]; // [sp+8h] [bp-2Ch] BYREF int v11[2]; // [sp+14h] [bp-20h] BYREF char *v12; // [sp+1Ch] [bp-18h] int v13[3]; // [sp+20h] [bp-14h] BYREF PlayLayer::addObject((int)this, a2); GJBaseGameLayer::sortStartPosObjects(this); std::string::basic_string(v11, *((_DWORD *)this + 352) + 304); if ( (v11[0] & 1) == 0 ) v2 = (char *)v11 + 1; v13[0] = 0; if ( (v11[0] & 1) != 0 ) v2 = v12; v13[1] = 0; v13[2] = 0; v5 = strlen(v2); std::string::__init(v13, v2, v5); cocos2d::ZipUtils::decompressString(v10, v13, 0, 11); std::string::~string((int)v13); std::string::~string((int)v11); (*(void (__fastcall **)(int *, StartPosObject *, PlayLayer *))(*(_DWORD *)a2 + 696))(v11, a2, this); if ( (v11[0] & 1) != 0 ) { v6 = v12; v7 = v11[1]; } else { v7 = (int)LOBYTE(v11[0]) >> 1; v6 = (char *)v11 + 1; } std::string::append(v10, v6, v7); std::string::~string((int)v11); std::string::append(v10, ";"); v8 = *((_DWORD *)this + 352); cocos2d::ZipUtils::compressString(v13, v10, 0, -1, 11); std::string::operator=((unsigned __int8 *)(v8 + 304), (unsigned __int8 *)v13); std::string::~string((int)v13); return std::string::~string((int)v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source