// // sub_1004D24B0 from 0x1004d24b0 to 0x1004d254c (156 bytes) // // 1 xrefs: // > sub_1004CF9C0 @ 0x1004d0f28 // // 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:06:29 +0000 // __int64 __fastcall sub_1004D24B0(__int64 result) { __int64 v1; // x8 __int64 v2; // x19 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 char *v6; // x0 v1 = *(_QWORD *)(result + 1088); if ( v1 ) { if ( (*(_BYTE *)(v1 + 497) & 1) == 0 ) { v2 = result; if ( !GameLevelManager::sharedState() || (v3 = GameLevelManager::sharedState(), result = sub_1000CC360(v3, 5, *(unsigned int *)(*(_QWORD *)(v2 + 1088) + 316LL), 0), (result & 1) == 0) ) { v4 = GameManager::sharedState(); if ( *(_DWORD *)(v4 + 660) == *(_DWORD *)(v4 + 664) ) { v5 = GameLevelManager::sharedState(); GameLevelManager::updateUserScore(v5); } v6 = LikeItemLayer::create(5, *(unsigned int *)(*(_QWORD *)(v2 + 1088) + 316LL), 0); *((_QWORD *)v6 + 84) = v2 + 1048; return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source