// // cocos2d::CCDictMaker::textHandler from 0xd7620c to 0xd76368 (348 bytes) // // 2 xrefs: // > @ 0xb08f0 // > @ 0x152d8b0 // // 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 13:08:03 +0000 // __int64 __fastcall cocos2d::CCDictMaker::textHandler(cocos2d::CCDictMaker *this, void *a2, char *a3, int a4) { size_t v6; // x0 cocos2d::CCString *v7; // x22 int v8; // w0 size_t v9; // x0 size_t v10; // x0 char *v13; // [xsp+38h] [xbp+38h] char *CString; // [xsp+38h] [xbp+38h] __int64 v15[3]; // [xsp+48h] [xbp+48h] BYREF __int64 v16[2]; // [xsp+60h] [xbp+60h] BYREF void *v17; // [xsp+70h] [xbp+70h] if ( *((_DWORD *)this + 34) ) { v16[0] = 0; v16[1] = 0; v17 = nullptr; v6 = strlen(a3); std::string::__init(v16, a3, v6); std::string::basic_string(v15, (__int64)v16, 0, a4); v7 = (cocos2d::CCString *)operator new(0x50u); cocos2d::CCString::CCString(v7, v15); if ( (v15[0] & 1) != 0 ) operator delete((void *)v15[2]); if ( (v16[0] & 1) != 0 ) operator delete(v17); v8 = *((_DWORD *)this + 34); if ( v8 == 1 ) { CString = cocos2d::CCString::getCString(v7); v10 = strlen(CString); std::string::assign((__int64 *)this + 11, CString, v10); cocos2d::CCObject::release(v7); } else { if ( v8 && (unsigned int)(v8 - 3) <= 2 ) { v13 = cocos2d::CCString::getCString(v7); v9 = strlen(v13); std::string::append((__int64)this + 112, v13, v9); } cocos2d::CCObject::release(v7); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source