// // GJMGLayer::updateGroundColor from 0x1005ec390 to 0x1005ec415 (133 bytes) // // 4 xrefs: // > LevelEditorLayer::updateEditorMode @ 0x1000de9fb // > LevelEditorLayer::updateEditorMode @ 0x1000dea0e // > GJBaseGameLayer::updateLevelColors @ 0x1001147cf // > GJBaseGameLayer::updateLevelColors @ 0x1001147f3 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJMGLayer::updateGroundColor(GJMGLayer *a1, cocos2d::ccColor3B a2, bool a3) { __int64 v3; // rax __int64 v4; // rdi __int64 v5; // rbx unsigned int v6; // r14d __int64 v7; // rax cocos2d::ccColor3B v8; // [rsp+0h] [rbp-1Ch] BYREF char v9; // [rsp+3h] [rbp-19h] v9 = HIBYTE(v3); v8 = a2; v4 = *((_QWORD *)&a1->m_ground1Sprite + !a3); if ( v4 ) { v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 472LL))(v4); if ( (unsigned int)sub_100720070(v5) ) { v6 = 0; do { v7 = sub_1007200C0(v5, v6); (*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v7 + 944LL))(v7, &v8); ++v6; } while ( v6 < (unsigned int)sub_100720070(v5) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source