{"type": "func", "start": 5369421344, "end": 5369421549, "name": "AchievementCell::draw", "pseudocode": "// \n// AchievementCell::draw from 0x1400ade20 to 0x1400adeed (205 bytes)\n// \n// 19 xrefs:\n// > <???> @ 0x140545888\n// > <???> @ 0x140545c88\n// > <???> @ 0x1405460a0\n// > <???> @ 0x1405464a0\n// > <???> @ 0x140547860\n// > <???> @ 0x140547d00\n// > <???> @ 0x140548178\n// > <???> @ 0x140548588\n// > <???> @ 0x140548988\n// > <???> @ 0x140548fa0\n// > <???> @ 0x140549460\n// > <???> @ 0x1405498a8\n// > <???> @ 0x140549d00\n// > <???> @ 0x14054ac28\n// > <???> @ 0x14054b090\n// > <???> @ 0x14054b490\n// > <???> @ 0x14054b8d8\n// > <???> @ 0x14054c350\n// > <???> @ 0x1406c79a4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Merged with: AchievementCell::draw, ArtistCell::draw, CommentCell::draw, CustomSongCell::draw, CustomSFXCell::draw, GJLevelScoreCell::draw, GJLocalLevelScoreCell::draw, GJMessageCell::draw, GJRequestCell::draw, GJScoreCell::draw, GJUserCell::draw, LevelListCell::draw, MapPackCell::draw, SmartTemplateCell::draw, SongCell::draw, StatsCell::draw, URLCell::draw\nvoid __fastcall AchievementCell::draw(__int64 a1)\n{\n  const struct cocos2d::CCPoint *v1; // rax\n  const struct cocos2d::CCPoint *v2; // rbx\n  cocos2d *v3; // rax\n  const struct cocos2d::CCPoint *v4; // r8\n  const struct cocos2d::CCPoint *v5; // rax\n  const struct cocos2d::CCPoint *v6; // rbx\n  cocos2d *v7; // rax\n  const struct cocos2d::CCPoint *v8; // r8\n  cocos2d::CCSize v9; // [rsp+40h] [rbp+8h] BYREF\n  cocos2d::CCPoint v10; // [rsp+48h] [rbp+10h] BYREF\n  cocos2d::CCPoint v11; // [rsp+50h] [rbp+18h] BYREF\n\n  cocos2d::CCSize::CCSize(&v9, *(float *)(a1 + 528), *(float *)(a1 + 532));\n  cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\n  cocos2d::CCPoint::CCPoint(&v10, v9.width - 1.0, v9.height);\n  v2 = v1;\n  cocos2d::CCPoint::CCPoint(&v11, 1.0, v9.height);\n  cocos2d::ccDrawLine(v3, v2, v4);\n  cocos2d::CCPoint::CCPoint(&v10, v9.width - 1.0, 0.0);\n  v6 = v5;\n  cocos2d::CCPoint::CCPoint(&v11, 1.0, 0.0);\n  cocos2d::ccDrawLine(v7, v6, v8);\n}", "assembly": "; \n; AchievementCell::draw from 0x1400ade20 to 0x1400adeed (205 bytes)\n; \n; 19 xrefs:\n; > <???> @ 0x140545888\n; > <???> @ 0x140545c88\n; > <???> @ 0x1405460a0\n; > <???> @ 0x1405464a0\n; > <???> @ 0x140547860\n; > <???> @ 0x140547d00\n; > <???> @ 0x140548178\n; > <???> @ 0x140548588\n; > <???> @ 0x140548988\n; > <???> @ 0x140548fa0\n; > <???> @ 0x140549460\n; > <???> @ 0x1405498a8\n; > <???> @ 0x140549d00\n; > <???> @ 0x14054ac28\n; > <???> @ 0x14054b090\n; > <???> @ 0x14054b490\n; > <???> @ 0x14054b8d8\n; > <???> @ 0x14054c350\n; > <???> @ 0x1406c79a4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400ade20\nsub     rsp, 30h                                                       ; +0x2, 0x1400ade22\nmovss   xmm2, dword ptr [rcx+214h]                                     ; +0x6, 0x1400ade26\nmovss   xmm1, dword ptr [rcx+210h]                                     ; +0xe, 0x1400ade2e\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x16, 0x1400ade36\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x1b, 0x1400ade3b\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x20, 0x1400ade40\nmov     r9b, 4Bh ; 'K'                                                 ; +0x26, 0x1400ade46\nxor     r8d, r8d                                                       ; +0x29, 0x1400ade49\nxor     edx, edx                                                       ; +0x2c, 0x1400ade4c\nxor     ecx, ecx                                                       ; +0x2e, 0x1400ade4e\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x30, 0x1400ade50\nmovss   xmm0, cs:width; width                                          ; +0x36, 0x1400ade56\ncall    cs:glLineWidth                                                 ; +0x3e, 0x1400ade5e\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x44, 0x1400ade64\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x4a, 0x1400ade6a\nmovss   xmm6, cs:flt_140622C24                                         ; +0x4f, 0x1400ade6f\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x57, 0x1400ade77\nsubss   xmm1, xmm6                                                     ; +0x5d, 0x1400ade7d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x61, 0x1400ade81\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x67, 0x1400ade87\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x6d, 0x1400ade8d\nmovaps  xmm1, xmm6                                                     ; +0x72, 0x1400ade92\nmov     rbx, rax                                                       ; +0x75, 0x1400ade95\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x78, 0x1400ade98\nmov     rcx, rax                                                       ; +0x7e, 0x1400ade9e\nmov     rdx, rbx                                                       ; +0x81, 0x1400adea1\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x84, 0x1400adea4\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x8a, 0x1400adeaa\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x90, 0x1400adeb0\nsubss   xmm1, xmm6                                                     ; +0x95, 0x1400adeb5\nxorps   xmm2, xmm2                                                     ; +0x99, 0x1400adeb9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c, 0x1400adebc\nxorps   xmm2, xmm2                                                     ; +0xa2, 0x1400adec2\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xa5, 0x1400adec5\nmovaps  xmm1, xmm6                                                     ; +0xaa, 0x1400adeca\nmov     rbx, rax                                                       ; +0xad, 0x1400adecd\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x1400aded0\nmov     rcx, rax                                                       ; +0xb6, 0x1400aded6\nmov     rdx, rbx                                                       ; +0xb9, 0x1400aded9\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xbc, 0x1400adedc\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc2, 0x1400adee2\nadd     rsp, 30h                                                       ; +0xc7, 0x1400adee7\npop     rbx                                                            ; +0xcb, 0x1400adeeb\nretn                                                                   ; +0xcc, 0x1400adeec", "xrefs": ["<???> @ 0x140545888", "<???> @ 0x140545c88", "<???> @ 0x1405460a0", "<???> @ 0x1405464a0", "<???> @ 0x140547860", "<???> @ 0x140547d00", "<???> @ 0x140548178", "<???> @ 0x140548588", "<???> @ 0x140548988", "<???> @ 0x140548fa0", "<???> @ 0x140549460", "<???> @ 0x1405498a8", "<???> @ 0x140549d00", "<???> @ 0x14054ac28", "<???> @ 0x14054b090", "<???> @ 0x14054b490", "<???> @ 0x14054b8d8", "<???> @ 0x14054c350", "<???> @ 0x1406c79a4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}