// // GJGroundLayer::createLine from 0x1006be000 to 0x1006be1b1 (433 bytes) // // 1 xrefs: // > GJGroundLayer::init @ 0x1006bdb92 // // This function is hookable on this platform (idp: pc, 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 12:35:30 +0000 // __int64 __fastcall GJGroundLayer::createLine(__int64 a1, int a2) { __int64 v3; // rdi int v4; // ecx int v5; // edx double v6; // xmm0_8 __int64 v7; // rax __int64 v8; // rax __int64 CString; // rax char *v10; // rax __int64 v11; // r14 __int64 v12; // r14 __int64 result; // rax char v14; // [rsp+0h] [rbp-30h] float v15[2]; // [rsp+4h] [rbp-2Ch] BYREF __int64 v16; // [rsp+Ch] [rbp-24h] BYREF float v17; // [rsp+14h] [rbp-1Ch] v3 = *(_QWORD *)(a1 + 432); if ( v3 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 520LL))(v3); *(_QWORD *)(a1 + 432) = 0; } v4 = 1; if ( a2 >= 2 ) v4 = a2; v5 = 3; if ( v4 < 3 ) v5 = v4; v17 = flt_100A108C0[a2 >= 2]; *(_QWORD *)&v6 = LODWORD(v17); *(_DWORD *)(a1 + 448) = v5; v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v16, v7); v8 = sub_10088E820("floorLine_%02d_001.png", v14); CString = cocos2d::CCString::getCString(v8); v10 = cocos2d::CCSprite::createWithSpriteFrameName(CString, v6); *(_QWORD *)(a1 + 432) = v10; (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v10, 5); v11 = *(_QWORD *)(a1 + 432); sub_100278250(v15, *(float *)&v16 * 0.5, v17); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v11 + 184LL))(v11, v15); v12 = *(_QWORD *)(a1 + 432); sub_100278250(v15, 0.5, 1.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v12 + 296LL))(v12, v15); result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 432) + 72LL))(*(_QWORD *)(a1 + 432), 2); if ( *(_BYTE *)(a1 + 441) == 1 ) result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 432) + 1080LL))( *(_QWORD *)(a1 + 432), 0x100000302LL); if ( *(int *)(a1 + 448) >= 2 ) { result = (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 432) + 128LL))( *(_QWORD *)(a1 + 432), (float)(*(float *)&v16 + 10.0) / *(float *)(*(_QWORD *)(a1 + 432) + 432LL)); if ( *(_DWORD *)(a1 + 448) == 3 ) return (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 432) + 144LL))(*(_QWORD *)(a1 + 432), 2.0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source