{"type": "func", "start": 6329072, "end": 6329304, "name": "AchievementCell::draw", "pseudocode": "// \n// AchievementCell::draw from 0x6092f0 to 0x6093d8 (232 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x75798\n// > <???> @ 0x114b9e8\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\nvoid AchievementCell::draw(AchievementCell *a1)\n{\n  cocos2d::CCSize v1; // [xsp+30h] [xbp+30h] BYREF\n  cocos2d::CCPoint v2; // [xsp+38h] [xbp+38h] BYREF\n  cocos2d::CCPoint v3; // [xsp+40h] [xbp+40h] BYREF\n\n  cocos2d::CCSize::CCSize(&v1, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth();\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, v1.height);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, v1.height);\n  cocos2d::ccDrawLine(&v2, &v3);\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, 0.0);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, 0.0);\n  cocos2d::ccDrawLine(&v2, &v3);\n}", "assembly": "; \n; AchievementCell::draw from 0x6092f0 to 0x6093d8 (232 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x75798\n; > <???> @ 0x114b9e8\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\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x6092f0\nMOV             X1, X0                                                 ; +0x4, 0x6092f4\nMOV             X29, SP                                                ; +0x8, 0x6092f8\nSTR             X21, [SP,#0x50+var_30]                                 ; +0xc, 0x6092fc\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x609300\nLDR             S1, [X1,#0x1FC]; float                                 ; +0x14, 0x609304\nADD             X0, X29, #0x50+var_20; this                            ; +0x18, 0x609308\nLDR             S0, [X1,#0x1F8]; float                                 ; +0x1c, 0x60930c\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x609310\nSTR             D8, [SP,#0x50+var_28]                                  ; +0x24, 0x609314\nFMOV            S8, #1.0                                               ; +0x28, 0x609318\nLDR             X1, [X21]                                              ; +0x2c, 0x60931c\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x30, 0x609320\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x34, 0x609324\nADD             X20, X29, #0x50+var_18                                 ; +0x38, 0x609328\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x3c, 0x60932c\nADD             X19, X29, #0x50+var_10                                 ; +0x40, 0x609330\nMOV             W2, #0; unsigned __int8                                ; +0x44, 0x609334\nMOV             W3, #0x4B ; 'K'; unsigned __int8                       ; +0x48, 0x609338\nMOV             W1, #0; unsigned __int8                                ; +0x4c, 0x60933c\nMOV             W0, #0; this                                           ; +0x50, 0x609340\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x54, 0x609344\nFMOV            S0, #2.0                                               ; +0x58, 0x609348\nBL              .glLineWidth                                           ; +0x5c, 0x60934c\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x60, 0x609350\nMOV             X0, X20; this                                          ; +0x64, 0x609354\nFMOV            S0, S8; float                                          ; +0x68, 0x609358\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6c, 0x60935c\nLDR             S0, [X29,#0x50+var_20]                                 ; +0x70, 0x609360\nMOV             X0, X19; this                                          ; +0x74, 0x609364\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x78, 0x609368\nFSUB            S0, S0, S8; float                                      ; +0x7c, 0x60936c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x80, 0x609370\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0x84, 0x609374\nMOV             X0, X20; this                                          ; +0x88, 0x609378\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8c, 0x60937c\nFMOV            S1, WZR; float                                         ; +0x90, 0x609380\nMOV             X0, X20; this                                          ; +0x94, 0x609384\nFMOV            S0, S8; float                                          ; +0x98, 0x609388\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c, 0x60938c\nLDR             S0, [X29,#0x50+var_20]                                 ; +0xa0, 0x609390\nMOV             X0, X19; this                                          ; +0xa4, 0x609394\nFMOV            S1, WZR; float                                         ; +0xa8, 0x609398\nFSUB            S0, S0, S8; float                                      ; +0xac, 0x60939c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x6093a0\nMOV             X0, X20; this                                          ; +0xb4, 0x6093a4\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0xb8, 0x6093a8\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0xbc, 0x6093ac\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xc0, 0x6093b0\nLDR             X0, [X21]                                              ; +0xc4, 0x6093b4\nCMP             X1, X0                                                 ; +0xc8, 0x6093b8\nB.NE            loc_6093D4                                             ; +0xcc, 0x6093bc\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xd0, 0x6093c0\nLDR             X21, [SP,#0x50+var_30]                                 ; +0xd4, 0x6093c4\nLDR             D8, [SP,#0x50+var_28]                                  ; +0xd8, 0x6093c8\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xdc, 0x6093cc\nRET                                                                    ; +0xe0, 0x6093d0\nBL              .__stack_chk_fail                                      ; +0xe4, 0x6093d4", "xrefs": ["<???> @ 0x75798", "<???> @ 0x114b9e8"], "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"}