// // GJGarageLayer::updateRate from 0x1003a3b08 to 0x1003a3c90 (392 bytes) // // 2 xrefs: // > sub_1003A3C90 @ 0x1003a3c94 // > @ 0x100944260 // // This function is hookable on this platform (idp: arm, 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 11:03:47 +0000 // __int64 __fastcall GJGarageLayer::updateRate(__int64 a1) { __int64 v2; // x0 void *v3; // x0 __int64 CString; // x20 void *v5; // x0 __int64 v6; // x21 __int64 v7; // x0 __int64 v8; // x22 __int64 v9; // x0 __int64 v10; // x0 void *v11; // x20 __int64 v12; // x0 __int64 v13; // x0 __int64 result; // x0 __int64 v15; // x0 __int16 v16; // [xsp+10h] [xbp-30h] BYREF char v17; // [xsp+12h] [xbp-2Eh] __int16 v18; // [xsp+14h] [xbp-2Ch] BYREF char v19; // [xsp+16h] [xbp-2Ah] float v20; // [xsp+18h] [xbp-28h] BYREF v2 = GameManager::sharedState(a1); if ( *(_BYTE *)(v2 + 684) == 1 && *(_QWORD *)(a1 + 504) ) { v3 = sub_1003065B0("player_%02d_001.png", 13); CString = cocos2d::CCString::getCString((__int64)v3); v5 = sub_1003065B0("player_%02d_2_001.png", 13); v6 = cocos2d::CCString::getCString((__int64)v5); v7 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 504) + 584LL))(*(_QWORD *)(a1 + 504), 1); v8 = *(_QWORD *)(a1 + 504); v9 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v7); v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, CString); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1160LL))(v8, v10); v11 = cocos2d::CCSprite::createWithSpriteFrameName(v6); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 504) + 464LL))( *(_QWORD *)(a1 + 504), v11, 0xFFFFFFFFLL); sub_1000262BC( &v20, *(float *)(*(_QWORD *)(a1 + 504) + 432LL) * 0.5, *(float *)(*(_QWORD *)(a1 + 504) + 436LL) * 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v11 + 184LL))(v11, &v20); v12 = *(_QWORD *)(a1 + 504); v19 = -81; v18 = -20561; (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v12 + 960LL))(v12, &v18); v17 = -1; v16 = -1; v13 = (*(__int64 (__fastcall **)(void *, __int16 *))(*(_QWORD *)v11 + 960LL))(v11, &v16); v2 = GameManager::sharedState(v13); *(_QWORD *)(v2 + 936) = 0; } result = GameManager::sharedState(v2); if ( *(_BYTE *)(result + 685) == 1 ) { result = *(_QWORD *)(a1 + 496); if ( result ) { v15 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 584LL))(result, 1); result = GameManager::sharedState(v15); *(_QWORD *)(result + 936) = 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source