{"type": "func", "start": 4297287584, "end": 4297287778, "name": "AchievementCell::draw", "pseudocode": "// \n// AchievementCell::draw from 0x1002367a0 to 0x100236862 (194 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ae7918\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:27:12 +0000\n// \n\n__int64 __fastcall AchievementCell::draw(__int64 a1)\n{\n  _BYTE v2[8]; // [rsp+8h] [rbp-28h] BYREF\n  double v3; // [rsp+10h] [rbp-20h] BYREF\n  float v4; // [rsp+18h] [rbp-18h] BYREF\n  float v5; // [rsp+1Ch] [rbp-14h]\n\n  sub_100278260(\n    &v4,\n    COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 520)),\n    COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 524)));\n  cocos2d::ccDrawColor4B(0, 0, 0, 75);\n  glLineWidth(2.0);\n  sub_100278250(v2, 1.0, v5);\n  sub_100278250(&v3, v4 + -1.0, v5);\n  cocos2d::ccDrawLine((__int64)v2, &v3);\n  sub_100278250(v2, 1.0, 0.0);\n  sub_100278250(&v3, v4 + -1.0, 0.0);\n  return cocos2d::ccDrawLine((__int64)v2, &v3);\n}", "assembly": "; \n; AchievementCell::draw from 0x1002367a0 to 0x100236862 (194 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ae7918\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:27:12 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002367a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002367a1\npush    r14                                                            ; +0x4, 0x1002367a4\npush    rbx                                                            ; +0x6, 0x1002367a6\nsub     rsp, 20h                                                       ; +0x7, 0x1002367a7\nmovss   xmm0, dword ptr [rdi+208h]                                     ; +0xb, 0x1002367ab\nmovss   xmm1, dword ptr [rdi+20Ch]                                     ; +0x13, 0x1002367b3\nlea     rdi, [rbp+var_18]                                              ; +0x1b, 0x1002367bb\ncall    sub_100278260                                                  ; +0x1f, 0x1002367bf\nxor     edi, edi                                                       ; +0x24, 0x1002367c4\nxor     esi, esi                                                       ; +0x26, 0x1002367c6\nxor     edx, edx                                                       ; +0x28, 0x1002367c8\nmov     ecx, 4Bh ; 'K'                                                 ; +0x2a, 0x1002367ca\ncall    cocos2d__ccDrawColor4B                                         ; +0x2f, 0x1002367cf\nmovss   xmm0, cs:width; width                                          ; +0x34, 0x1002367d4\ncall    _glLineWidth                                                   ; +0x3c, 0x1002367dc\nmovss   xmm1, [rbp+var_14]                                             ; +0x41, 0x1002367e1\nlea     rbx, [rbp+var_28]                                              ; +0x46, 0x1002367e6\nmovss   xmm0, cs:alpha                                                 ; +0x4a, 0x1002367ea\nmov     rdi, rbx                                                       ; +0x52, 0x1002367f2\ncall    sub_100278250                                                  ; +0x55, 0x1002367f5\nmovss   xmm0, [rbp+var_18]                                             ; +0x5a, 0x1002367fa\naddss   xmm0, cs:dword_100A035E0                                       ; +0x5f, 0x1002367ff\nmovss   xmm1, [rbp+var_14]                                             ; +0x67, 0x100236807\nlea     r14, [rbp+var_20]                                              ; +0x6c, 0x10023680c\nmov     rdi, r14                                                       ; +0x70, 0x100236810\ncall    sub_100278250                                                  ; +0x73, 0x100236813\nmov     rdi, rbx                                                       ; +0x78, 0x100236818\nmov     rsi, r14                                                       ; +0x7b, 0x10023681b\ncall    cocos2d__ccDrawLine                                            ; +0x7e, 0x10023681e\nxorps   xmm1, xmm1                                                     ; +0x83, 0x100236823\nmov     rdi, rbx                                                       ; +0x86, 0x100236826\nmovss   xmm0, cs:alpha                                                 ; +0x89, 0x100236829\ncall    sub_100278250                                                  ; +0x91, 0x100236831\nmovss   xmm0, cs:dword_100A035E0                                       ; +0x96, 0x100236836\naddss   xmm0, [rbp+var_18]                                             ; +0x9e, 0x10023683e\nxorps   xmm1, xmm1                                                     ; +0xa3, 0x100236843\nmov     rdi, r14                                                       ; +0xa6, 0x100236846\ncall    sub_100278250                                                  ; +0xa9, 0x100236849\nmov     rdi, rbx                                                       ; +0xae, 0x10023684e\nmov     rsi, r14                                                       ; +0xb1, 0x100236851\ncall    cocos2d__ccDrawLine                                            ; +0xb4, 0x100236854\nadd     rsp, 20h                                                       ; +0xb9, 0x100236859\npop     rbx                                                            ; +0xbd, 0x10023685d\npop     r14                                                            ; +0xbe, 0x10023685e\npop     rbp                                                            ; +0xc0, 0x100236860\nretn                                                                   ; +0xc1, 0x100236861", "xrefs": ["<???> @ 0x100ae7918"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}