// // GameObject::getObjectRect from 0x44e59c to 0x44e68c (240 bytes) // // 0 xrefs: // // 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:48:36 +0000 // GameObject *__fastcall GameObject::getObjectRect(GameObject *this, float *a2, float a3, float a4) { float v8; // s14 float v9; // s15 const cocos2d::CCPoint **BoxOffset; // r0 float v11; // r2 float v13; // [sp+Ch] [bp-24h] BYREF float v14; // [sp+10h] [bp-20h] _BYTE v15[8]; // [sp+14h] [bp-1Ch] BYREF float v16[2]; // [sp+1Ch] [bp-14h] BYREF _BYTE v17[8]; // [sp+24h] [bp-Ch] BYREF v8 = a2[252]; v9 = a2[253]; if ( *((_BYTE *)a2 + 737) ) { v8 = fabsf(v8); v9 = fabsf(v9); } cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v13, a2[162] * v8, a2[163] * v9); v13 = v13 * a3; v14 = v14 * a4; BoxOffset = GameObject::getBoxOffset((const cocos2d::CCPoint **)a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, (const cocos2d::CCPoint *)BoxOffset); if ( *((_BYTE *)a2 + 768) ) { v11 = v14; v14 = v13; v13 = v11; } (*(void (__fastcall **)(_BYTE *, float *))(*(_DWORD *)a2 + 680))(v17, a2); cocos2d::CCPoint::operator+(v16, v17, v15); cocos2d::CCRect::CCRect(this, v16[0] - (float)(v13 * 0.5), v16[1] - (float)(v14 * 0.5), v13, v14); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source