// // GJGarageLayer::onArrow from 0x50f5f8 to 0x50f65c (100 bytes) // // 0 xrefs: // // 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:51:30 +0000 // int *__fastcall GJGarageLayer::onArrow(GJGarageLayer *this, cocos2d::CCObject *a2) { GameManager *v3; // r6 _DWORD *v4; // r0 GameManager *active; // r0 int v6; // r0 int v7; // r7 int v8; // r4 int v9; // r3 int v10; // r1 v3 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = (_DWORD *)GameManager::sharedState(v3); active = (GameManager *)GameManager::activeIconForType(v4, *((_DWORD *)this + 93)); v6 = GameManager::sharedState(active); v7 = GameManager::countForType(v6, *((_DWORD *)this + 93)); v8 = *std::map::operator[]((int **)this + 94, (int *)this + 93); if ( v3 == (GameManager *)((char *)&dword_0 + 1) ) v9 = v8 + 1; else v9 = v8 - 1; v10 = v7 / 36; if ( v9 >= 0 ) { if ( v9 > v7 / 36 ) v10 = 0; else v10 = v9; } return GJGarageLayer::setupPage((int)this, v10, *((_DWORD *)this + 93)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source