{"type": "func", "start": 6442843104, "end": 6442843246, "name": "cocos2d::CCProgressTimer::boundaryTexCoord", "pseudocode": "// \n// cocos2d::CCProgressTimer::boundaryTexCoord from 0x18005fbe0 to 0x18005fc6e (142 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd498\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 11:21:50 +0000\n// \n\nfloat *__fastcall cocos2d::CCProgressTimer::boundaryTexCoord(__int64 a1, float *a2, char a3)\n{\n  char v4; // r9\n  int v5; // eax\n  char v6; // cl\n\n  if ( a3 >= 4 )\n  {\n    cocos2d::cc_timeval::operator=(a2, dword_1801B2438);\n    return a2;\n  }\n  else\n  {\n    v4 = 2 * a3;\n    if ( *(_BYTE *)(a1 + 392) )\n    {\n      v5 = (75 >> (6 - v4)) & 1;\n      v6 = 7 - v4;\n    }\n    else\n    {\n      v6 = 2 * a3 + 1;\n      v5 = (75 >> v4) & 1;\n    }\n    kmVec2Fill(a2, (float)((75 >> v6) & 1), (float)v5);\n    return a2;\n  }\n}", "assembly": "; \n; cocos2d::CCProgressTimer::boundaryTexCoord from 0x18005fbe0 to 0x18005fc6e (142 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd498\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 11:21:50 +0000\n; \npush    rbx                                                            ; +0x0, 0x18005fbe0\nsub     rsp, 20h                                                       ; +0x2, 0x18005fbe2\nmov     rbx, rdx                                                       ; +0x6, 0x18005fbe6\ncmp     r8b, 4                                                         ; +0x9, 0x18005fbe9\njge     short loc_18005FC56                                            ; +0xd, 0x18005fbed\ncmp     byte ptr [rcx+188h], 0                                         ; +0xf, 0x18005fbef\nmovsx   edx, r8b                                                       ; +0x16, 0x18005fbf6\nmov     r8d, 4Bh ; 'K'                                                 ; +0x1a, 0x18005fbfa\nmov     eax, r8d                                                       ; +0x20, 0x18005fc00\nlea     r9d, [rdx+rdx]                                                 ; +0x23, 0x18005fc03\njz      short loc_18005FC45                                            ; +0x27, 0x18005fc07\nmov     ecx, 6                                                         ; +0x29, 0x18005fc09\nsub     ecx, r9d                                                       ; +0x2e, 0x18005fc0e\nsar     eax, cl                                                        ; +0x31, 0x18005fc11\nmov     ecx, 7                                                         ; +0x33, 0x18005fc13\nand     eax, 1                                                         ; +0x38, 0x18005fc18\nsub     ecx, r9d                                                       ; +0x3b, 0x18005fc1b\nsar     r8d, cl                                                        ; +0x3e, 0x18005fc1e\nmov     rcx, rbx                                                       ; +0x41, 0x18005fc21\nand     r8d, 1                                                         ; +0x44, 0x18005fc24\nmovd    xmm2, eax                                                      ; +0x48, 0x18005fc28\ncvtdq2ps xmm2, xmm2                                                    ; +0x4c, 0x18005fc2c\nmovd    xmm1, r8d                                                      ; +0x4f, 0x18005fc2f\ncvtdq2ps xmm1, xmm1                                                    ; +0x54, 0x18005fc34\ncall    kmVec2Fill                                                     ; +0x57, 0x18005fc37\nmov     rax, rbx                                                       ; +0x5c, 0x18005fc3c\nadd     rsp, 20h                                                       ; +0x5f, 0x18005fc3f\npop     rbx                                                            ; +0x63, 0x18005fc43\nretn                                                                   ; +0x64, 0x18005fc44\nmov     ecx, r9d                                                       ; +0x65, 0x18005fc45\nsar     eax, cl                                                        ; +0x68, 0x18005fc48\nlea     ecx, ds:1[rdx*2]                                               ; +0x6a, 0x18005fc4a\nand     eax, 1                                                         ; +0x71, 0x18005fc51\njmp     short loc_18005FC1E                                            ; +0x74, 0x18005fc54\nlea     rdx, dword_1801B2438                                           ; +0x76, 0x18005fc56\nmov     rcx, rbx                                                       ; +0x7d, 0x18005fc5d\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x80, 0x18005fc60\nmov     rax, rbx                                                       ; +0x85, 0x18005fc65\nadd     rsp, 20h                                                       ; +0x88, 0x18005fc68\npop     rbx                                                            ; +0x8c, 0x18005fc6c\nretn                                                                   ; +0x8d, 0x18005fc6d", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bd498"], "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"}