// // PlayLayer::addLiveStartPosObject from 0x7004e8 to 0x70075c (628 bytes) // // 2 xrefs: // > CreateStartPosPopup::onCreate @ 0x7d99cc // > @ 0x57868 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:52:02 +0000 // __int64 __fastcall PlayLayer::addLiveStartPosObject(PlayLayer *this, StartPosObject *a2) { __int64 v4; // x0 size_t v5; // x1 char *v6; // x1 size_t v7; // x0 char *v8; // x1 size_t v9; // x2 __int64 v10; // x19 __int64 *v11; // x0 __int64 v13; // [xsp+0h] [xbp+0h] BYREF void *v14; // [xsp+48h] [xbp+48h] void *v15[3]; // [xsp+50h] [xbp+50h] BYREF __int64 v16; // [xsp+68h] [xbp+68h] BYREF size_t v17; // [xsp+70h] [xbp+70h] void *v18; // [xsp+78h] [xbp+78h] __int64 v19; // [xsp+80h] [xbp+80h] BYREF size_t v20; // [xsp+88h] [xbp+88h] void *v21; // [xsp+90h] [xbp+90h] PlayLayer::addObject(this, a2); GJBaseGameLayer::sortStartPosObjects(this); v16 = 0; v4 = *((_QWORD *)this + 242); v17 = 0; v18 = nullptr; if ( (*(_BYTE *)(v4 + 392) & 1) != 0 ) { std::string::__init(&v16, *(void **)(v4 + 408), *(_QWORD *)(v4 + 400)); } else { v5 = *(_QWORD *)(v4 + 400); v16 = *(_QWORD *)(v4 + 392); v17 = v5; v18 = *(void **)(v4 + 408); } v6 = (char *)&v16 + 1; if ( (v16 & 1) != 0 ) v6 = (char *)v18; v14 = v6; v19 = 0; v20 = 0; v21 = nullptr; v7 = strlen(v6); std::string::__init(&v19, v14, v7); cocos2d::ZipUtils::decompressString(v15, &v19, 0, 11); if ( (v19 & 1) != 0 ) operator delete(v21); if ( (v16 & 1) != 0 ) operator delete(v18); (*(void (__fastcall **)(__int64 *__return_ptr, StartPosObject *, PlayLayer *))(*(_QWORD *)a2 + 1392LL))( &v16, a2, this); if ( (v16 & 1) != 0 ) { v8 = (char *)v18; v9 = v17; } else { v9 = (unsigned __int8)v16 >> 1; v8 = (char *)&v16 + 1; } std::string::append((__int64)v15, v8, v9); if ( (v16 & 1) != 0 ) operator delete(v18); std::string::append((__int64)v15, ";", 1u); v10 = *((_QWORD *)this + 242); cocos2d::ZipUtils::compressString((unsigned int)&v13 + 80, 0, -1); v11 = (__int64 *)(v10 + 392); if ( (__int64 *)(v10 + 392) != &v19 ) { if ( (v19 & 1) != 0 ) std::string::assign(v11, v21, v20); else std::string::assign(v11, (char *)&v19 + 1, (unsigned __int8)v19 >> 1); } if ( (v19 & 1) != 0 ) operator delete(v21); if ( ((__int64)v15[0] & 1) != 0 ) operator delete(v15[2]); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source