// // DS_Dictionary::getVec2ForKey from 0x10015d230 to 0x10015d37f (335 bytes) // // 3 xrefs: // > SpriteDescription::initDescription_1 @ 0x100599c95 // > SpriteDescription::initDescription_1 @ 0x100599cb3 // > SpriteDescription::initDescription_1 @ 0x100599cd1 // // 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:25:06 +0000 // __int64 __fastcall DS_Dictionary::getVec2ForKey(__int64 a1, __int64 a2, const char *a3, double a4) { __int64 v6; // rdi bool v7; // zf const char *v8; // rsi const char *v9; // rsi const char *v10; // rax const char *v11; // rsi __int64 v12; // rax __int64 v13; // rbx __int64 v15; // [rsp+8h] [rbp-48h] BYREF __int64 v16; // [rsp+10h] [rbp-40h] __int64 v17; // [rsp+18h] [rbp-38h] BYREF _QWORD v18[6]; // [rsp+20h] [rbp-30h] BYREF v16 = a1; v6 = *(_QWORD *)(a2 + 216) - 8LL; v7 = *(_BYTE *)(a2 + 232) == 0; v8 = "k"; if ( !v7 ) v8 = "key"; v18[0] = sub_100718180(v6, v8); if ( sub_100718020(v18) ) { while ( 1 ) { v10 = (const char *)sub_1007184B0(v18); if ( !strcmp(v10, a3) ) { v15 = sub_1007183B0(v18); v11 = "s"; if ( *(_BYTE *)(a2 + 232) ) v11 = "string"; v17 = sub_100718360(v18, v11); if ( (unsigned __int8)sub_100718220(&v15, &v17, a4) ) break; } v9 = "k"; if ( *(_BYTE *)(a2 + 232) ) v9 = "key"; v18[0] = sub_100718360(v18, v9); if ( !sub_100718020(v18) ) goto LABEL_13; } sub_1002782A0(&v15); v17 = sub_1007183B0(v18); v12 = sub_1007184B0(&v17); v13 = v16; cocos2d::CCPointFromString(v16, v12); } else { LABEL_13: v13 = v16; sub_1002782D0(v16, &unk_100BE1338); } return v13; }