// // EnhancedGameObject::updateUserCoin from 0x45aae4 to 0x45aba0 (188 bytes) // // 2 xrefs: // > PlayLayer::createObjectsFromSetupFinished @ 0x404af8 // > GameObject::objectFromVector @ 0x45c7a8 // // 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:48 +0000 // GameManager *__fastcall EnhancedGameObject::updateUserCoin(GameManager *this) { int v1; // r4 int v2; // r0 GameManager *v3; // r0 GameManager *v4; // r5 void (__fastcall *v5)(GameManager *, int *); // r8 int v6; // r2 void (__fastcall *v7)(GameManager *, int *); // r8 int v8; // r2 int v9; // [sp+Ch] [bp-14h] BYREF int v10; // [sp+10h] [bp-10h] int v11; // [sp+14h] [bp-Ch] int v12; // [sp+18h] [bp-8h] v1 = (int)this; if ( !*((_BYTE *)this + 549) ) { v2 = GameManager::sharedState(this); this = (GameManager *)GJBaseGameLayer::hasUniqueCoin(*(GJBaseGameLayer **)(v2 + 404), (EffectGameObject *)v1); *(_BYTE *)(v1 + 1266) = (_BYTE)this; if ( !this ) { v3 = GameObject::createAndAddParticle(v1, *(_DWORD *)(v1 + 784), (int)"coinEffect.plist", 0, 2); v4 = v3; if ( v3 ) { if ( *(_DWORD *)(v1 + 892) != 142 ) { v5 = *(void (__fastcall **)(GameManager *, int *))(*(_DWORD *)v3 + 680); v6 = *(_DWORD *)((*(int (__fastcall **)(GameManager *))(*(_DWORD *)v3 + 676))(v3) + 12); v9 = 1065353216; v10 = 1065353216; v12 = v6; v11 = 1065353216; v5(v4, &v9); v7 = *(void (__fastcall **)(GameManager *, int *))(*(_DWORD *)v4 + 696); v8 = *(_DWORD *)((*(int (__fastcall **)(GameManager *))(*(_DWORD *)v4 + 692))(v4) + 12); v9 = 1056964608; v10 = 1056964608; v11 = 1056964608; v12 = v8; v7(v4, &v9); } } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, 0.0, -19.0); return (GameManager *)cocos2d::CCPoint::operator=(v1 + 680, &v9); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source