// // GJBaseGameLayer::visitWithColorFlash from 0x59845c to 0x5985fc (416 bytes) // // 1 xrefs: // > GJBaseGameLayer::visit @ 0x598ff6 // // 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:53:10 +0000 // unsigned int __fastcall GJBaseGameLayer::visitWithColorFlash(GJBaseGameLayer *this) { int active; // r0 unsigned __int8 v3; // r3 GJEffectManager *v4; // r0 int v5; // r0 char v6; // r3 GJEffectManager *v7; // r0 int v8; // r0 int v9; // r0 int v11; // r0 int v12; // r0 unsigned __int8 v13[4]; // [sp+4h] [bp-1Ch] BYREF int v14; // [sp+8h] [bp-18h] BYREF int v15; // [sp+Ch] [bp-14h] BYREF __int16 v16; // [sp+10h] [bp-10h] BYREF char v17; // [sp+12h] [bp-Eh] int v18; // [sp+14h] [bp-Ch] int v19; // [sp+18h] [bp-8h] active = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 381), 1000); v3 = BYTE1(active); v13[0] = active; v13[2] = BYTE2(active); v4 = *((GJEffectManager **)this + 381); v13[1] = v3; v5 = GJEffectManager::activeColorForIndex(v4, 1001); v6 = BYTE1(v5); LOBYTE(v14) = v5; BYTE2(v14) = BYTE2(v5); v7 = *((GJEffectManager **)this + 381); BYTE1(v14) = v6; v8 = GJEffectManager::activeColorForIndex(v7, 1009); LOWORD(v15) = v8; BYTE2(v15) = BYTE2(v8); v9 = GameToolbox::transformColor(v13, 0.0, -0.2, 0.2); v16 = v9; v17 = BYTE2(v9); if ( (_BYTE)v14 || __PAIR16__(BYTE1(v14), 0) != BYTE2(v14) ) { v11 = GameToolbox::transformColor((unsigned __int8 *)&v14, 0.0, -0.2, 0.2); LOWORD(v18) = v11; BYTE2(v18) = BYTE2(v11); } else { LOWORD(v18) = v14; BYTE2(v18) = 0; } if ( (_BYTE)v15 || __PAIR16__(BYTE1(v15), 0) != BYTE2(v15) ) { v12 = GameToolbox::transformColor((unsigned __int8 *)&v15, 0.0, -0.2, 0.2); LOWORD(v19) = v12; BYTE2(v19) = BYTE2(v12); } else { LOWORD(v19) = v15; BYTE2(v19) = 0; } (*(void (__fastcall **)(_DWORD, __int16 *))(**((_DWORD **)this + 612) + 480))(*((_DWORD *)this + 612), &v16); GJGroundLayer::updateGround01Color(*((_DWORD *)this + 614), v18); GJGroundLayer::updateGround01Color(*((_DWORD *)this + 615), v18); GJGroundLayer::updateGround02Color(*((_DWORD *)this + 614), v19); GJGroundLayer::updateGround02Color(*((_DWORD *)this + 615), v19); cocos2d::CCNode::visit(this); (*(void (__fastcall **)(_DWORD, unsigned __int8 *))(**((_DWORD **)this + 612) + 480))(*((_DWORD *)this + 612), v13); GJGroundLayer::updateGround01Color(*((_DWORD *)this + 614), v14); GJGroundLayer::updateGround01Color(*((_DWORD *)this + 615), v14); GJGroundLayer::updateGround02Color(*((_DWORD *)this + 614), v15); return GJGroundLayer::updateGround02Color(*((_DWORD *)this + 615), v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source