// // sub_745C90 from 0x745c90 to 0x745d50 (192 bytes) // // 2 xrefs: // > InvitesPopup::buildRows @ 0x758f98 // > InvitesPopup::buildRows @ 0x75921c // // 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:58:42 +0000 // cocos2d::CCSprite *__fastcall sub_745C90(_DWORD *a1, int a2, int a3, int a4) { int v4; // s0 cocos2d::CCSprite *v6; // r4 GameManager *v7; // r0 int (__fastcall *v8)(cocos2d::CCSprite *, _DWORD *); // r8 GameManager *v9; // r0 int v10; // r0 GameManager *v11; // r0 GameManager *v12; // r0 int v13; // r0 int v14; // r1 _DWORD v16[2]; // [sp+8h] [bp+0h] BYREF v16[0] = a3; v16[1] = a4; v6 = SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), a2); v7 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v6 + 80))(v6, v4); v8 = *(int (__fastcall **)(cocos2d::CCSprite *, _DWORD *))(*(_DWORD *)v6 + 480); v9 = (GameManager *)GameManager::sharedState(v7); v10 = GameManager::colorForIdx(v9, a1[54]); LOWORD(v16[0]) = v10; BYTE2(v16[0]) = BYTE2(v10); v11 = (GameManager *)v8(v6, v16); v12 = (GameManager *)GameManager::sharedState(v11); v13 = GameManager::colorForIdx(v12, a1[55]); LOWORD(v16[0]) = v13; BYTE2(v16[0]) = BYTE2(v13); SimplePlayer::setSecondColor(v6); SimplePlayer::tryEnableCustomGlowColor(v6, a1[56]); *((_BYTE *)v6 + 540) = a1[58] == 2; v14 = a1[53]; if ( v14 < 1 ) v14 = 1; SimplePlayer::updatePlayerFrame((int)v6, v14, a1[57]); SimplePlayer::updateColors(v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source