// // MultilineBitmapFont::createWithFont from 0x100487050 to 0x100487185 (309 bytes) // // 1 xrefs: // > TextArea::setString @ 0x100321e18 // // 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 // char *__fastcall MultilineBitmapFont::createWithFont( __int64 a1, __int64 a2, double *a3, unsigned int a4, unsigned __int8 a5, float a6, float a7) { char *v9; // rbx char v10; // r14 __int64 v12; // [rsp+8h] [rbp-58h] BYREF __int128 v13; // [rsp+10h] [rbp-50h] BYREF void *__p; // [rsp+20h] [rbp-40h] unsigned int v15; // [rsp+2Ch] [rbp-34h] float v16; // [rsp+30h] [rbp-30h] float v17; // [rsp+34h] [rbp-2Ch] v15 = a4; v16 = a7; v17 = a6; v9 = (char *)operator new(0x748u); cocos2d::CCSprite::CCSprite((__int64)v9, a2); *(_QWORD *)v9 = off_100941E08; *((_QWORD *)v9 + 40) = off_1009422E0; *((_QWORD *)v9 + 43) = off_100942360; *(_OWORD *)(v9 + 1800) = 0; *(_OWORD *)(v9 + 1813) = 0; *(_OWORD *)(v9 + 1832) = 0; sub_10028CC30((_QWORD *)v9 + 231); *((_DWORD *)v9 + 464) = 0; v9[1860] = 0; if ( (*(_BYTE *)a2 & 1) != 0 ) { sub_100006B70(&v13, *(const void **)(a2 + 16), *(_QWORD *)(a2 + 8), 0.0); } else { __p = *(void **)(a2 + 16); v13 = *(_OWORD *)a2; } sub_10028CC60(&v12, a3); v10 = MultilineBitmapFont::initWithFont(v9, a1, &v13, &v12, v15, a5, v17, v16); if ( (v13 & 1) != 0 ) operator delete(__p); if ( v10 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v9 + 16LL))(v9); return nullptr; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source