// // EnhancedGameObject::updateUserCoin from 0x1006931f0 to 0x100693300 (272 bytes) // // 2 xrefs: // > PlayLayer::createObjectsFromSetupFinished @ 0x100084370 // > GameObject::objectFromVector @ 0x100692a20 // // This function is hookable on this platform (idp: pc, 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 12:35:09 +0000 // void __fastcall EnhancedGameObject::updateUserCoin(__int64 a1) { __int64 v1; // rax char hasUniqueCoin; // al __int64 v3; // rax __int64 v4; // r14 _OWORD v5[2]; // [rsp-28h] [rbp-28h] BYREF if ( !*(_BYTE *)(a1 + 649) ) { v1 = GameManager::sharedState(); hasUniqueCoin = GJBaseGameLayer::hasUniqueCoin(*(_QWORD *)(v1 + 544), (_DWORD *)a1); *(_BYTE *)(a1 + 1446) = hasUniqueCoin; if ( !hasUniqueCoin ) { v3 = GameObject::createAndAddParticle(a1, *(_DWORD *)(a1 + 920), "coinEffect.plist", 0, 2); if ( v3 ) { if ( *(_DWORD *)(a1 + 1028) != 142 ) { v4 = v3; v5[0] = _mm_movelh_ps( (__m128)xmmword_100A038B0, _mm_insert_ps( (__m128)xmmword_100A049A0, (__m128)*(unsigned int *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1352LL))(v3) + 12), 16)); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v4 + 1360LL))(v4, v5); v5[0] = _mm_movelh_ps( (__m128)xmmword_100A04CE0, _mm_insert_ps( (__m128)xmmword_100A067A0, (__m128)*(unsigned int *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1384LL))(v4) + 12), 16)); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v4 + 1392LL))(v4, v5); } } sub_100278250((float *)v5, 0.0, -19.0); sub_100278300((_QWORD *)(a1 + 812), v5); } } }