// // cocos2d::CCTMXMapInfo::textHandler from 0x805cc0 to 0x805d8a (202 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::CCTMXMapInfo::textHandler @ 0x805d94 // // 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 12:01:24 +0000 // int __fastcall cocos2d::CCTMXMapInfo::textHandler(cocos2d::CCTMXMapInfo *this, void *a2, const char *a3, size_t a4) { const char *v7; // r7 size_t v8; // r0 bool v9; // nf size_t v10; // r0 char *v11; // r1 size_t v12; // r2 char *v13; // r1 int v15[3]; // [sp+Ch] [bp-20h] BYREF int v16; // [sp+18h] [bp-14h] BYREF int v17; // [sp+1Ch] [bp-10h] char *v18; // [sp+20h] [bp-Ch] v7 = nullptr; v16 = 0; v17 = 0; v18 = nullptr; v8 = strlen(a3); std::string::__init(&v16, a3, v8); std::string::basic_string(v15, (unsigned __int8 *)&v16, 0, a4); std::string::~string((int)&v16); if ( *((_BYTE *)this + 100) ) { v9 = (*((_BYTE *)this + 132) & 1) != 0; if ( (*((_BYTE *)this + 132) & 1) == 0 ) v7 = (char *)this + 133; v16 = 0; if ( v9 ) v7 = *((const char **)this + 35); v17 = 0; v18 = nullptr; v10 = strlen(v7); std::string::__init(&v16, v7, v10); if ( (v15[0] & 1) != 0 ) { v11 = (char *)v15[2]; v12 = v15[1]; } else { v12 = (int)LOBYTE(v15[0]) >> 1; v11 = (char *)v15 + 1; } std::string::append(&v16, v11, v12); if ( (v16 & 1) != 0 ) v13 = v18; else v13 = (char *)&v16 + 1; std::string::assign((int *)this + 33, v13); std::string::~string((int)&v16); } return std::string::~string((int)v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source