// // GJBaseGameLayer::updateObjectSection from 0x593628 to 0x593738 (272 bytes) // // 1 xrefs: // > LevelEditorLayer::updateObjectSection @ 0x45e7c0 // // 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:07 +0000 // GJBaseGameLayer *__fastcall GJBaseGameLayer::updateObjectSection(GJBaseGameLayer *this, GameObject *a2) { GJBaseGameLayer *v2; // r5 int v3; // r2 double v5; // d7 double v6; // d6 _DWORD *v7; // r3 bool v8; // nf int v9; // s12 double v10; // d7 double v11; // d5 _DWORD *v12; // r3 bool v13; // nf int v14; // s14 int v15; // r3 int v16; // r3 v2 = this; v3 = *((_DWORD *)a2 + 132); if ( v3 >= 0 ) { v5 = *((double *)a2 + 101); if ( v5 <= 0.0 ) { v9 = 0; } else { HIDWORD(v6) = 1097011920; v7 = (_DWORD *)((char *)this + 11424); v8 = v5 < 10000000.0; if ( v5 >= 10000000.0 ) LODWORD(v6) = 1259902592; else LODWORD(v6) = *v7; if ( v5 >= 10000000.0 ) HIDWORD(v5) = *v7; else v6 = *(float *)&v6; if ( v8 ) v6 = v5 * v6; else *(float *)&v6 = *((float *)&v5 + 1) * *(float *)&v6; if ( v8 ) v9 = (int)v6; else v9 = (int)*(float *)&v6; } v10 = *((double *)a2 + 102); if ( v10 <= 0.0 ) { v14 = 0; } else { v11 = 10000000.0; v12 = (_DWORD *)((char *)this + 11428); v13 = v10 < 10000000.0; if ( v10 >= 10000000.0 ) LODWORD(v10) = *v12; else LODWORD(v11) = *v12; if ( v13 ) v11 = *(float *)&v11; else HIDWORD(v10) = 1259902592; if ( v13 ) v10 = v10 * v11; else *(float *)&v10 = *(float *)&v10 * *((float *)&v10 + 1); if ( v13 ) v14 = (int)v10; else v14 = (int)*(float *)&v10; } if ( v9 != v3 || v14 != *((_DWORD *)a2 + 133) ) { this = (GJBaseGameLayer *)GJBaseGameLayer::reorderObjectSection(this, a2); if ( *((_BYTE *)a2 + 657) ) { v15 = *((_DWORD *)a2 + 132); if ( v15 > *((_DWORD *)v2 + 2650) || v15 < *((_DWORD *)v2 + 2649) || (v16 = *((_DWORD *)a2 + 133), v16 > *((_DWORD *)v2 + 2652)) || v16 < *((_DWORD *)v2 + 2651) ) { this = (GJBaseGameLayer *)cocos2d::CCDictionary::setObject( *((cocos2d::CCDictionary **)v2 + 618), a2, *((_DWORD *)a2 + 195)); *((_BYTE *)a2 + 862) = 1; } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source