{"type": "func", "start": 6442696720, "end": 6442696850, "name": "cocos2d::CCFadeOutTRTiles::testFunc", "pseudocode": "// \n// cocos2d::CCFadeOutTRTiles::testFunc from 0x18003c010 to 0x18003c092 (130 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f04c0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb074\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:37 +0000\n// \n\nfloat __fastcall cocos2d::CCFadeOutTRTiles::testFunc(\n        cocos2d::CCFadeOutTRTiles *this,\n        const struct cocos2d::CCSize *a2,\n        float a3)\n{\n  float *v4; // rax\n  float v6; // [rsp+40h] [rbp+8h] BYREF\n  float v7; // [rsp+44h] [rbp+Ch]\n  float v8; // [rsp+58h] [rbp+20h] BYREF\n\n  v4 = kmVec2Fill(&v8, *((float *)this + 24), *((float *)this + 25));\n  cocos2d::CCSize::operator*(v4, &v6, a3);\n  if ( (float)(v7 + v6) == 0.0 )\n    return 1.0;\n  else\n    return powf((float)(*((float *)a2 + 1) + *(float *)a2) / (float)(v7 + v6), 6.0);\n}", "assembly": "; \n; cocos2d::CCFadeOutTRTiles::testFunc from 0x18003c010 to 0x18003c092 (130 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f04c0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb074\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:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x18003c010\nsub     rsp, 30h                                                       ; +0x2, 0x18003c012\nmovss   xmm1, dword ptr [rcx+60h]                                      ; +0x6, 0x18003c016\nmov     rbx, rdx                                                       ; +0xb, 0x18003c01b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x18003c01e\nmovaps  xmm6, xmm2                                                     ; +0x13, 0x18003c023\nmovss   xmm2, dword ptr [rcx+64h]                                      ; +0x16, 0x18003c026\nlea     rcx, [rsp+38h+arg_18]                                          ; +0x1b, 0x18003c02b\ncall    kmVec2Fill                                                     ; +0x20, 0x18003c030\nmovaps  xmm2, xmm6                                                     ; +0x25, 0x18003c035\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x28, 0x18003c038\nmov     rcx, rax                                                       ; +0x2d, 0x18003c03d\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x30, 0x18003c040\nmovss   xmm1, [rsp+38h+arg_4]                                          ; +0x35, 0x18003c045\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x18003c04b\naddss   xmm1, [rsp+38h+arg_0]                                          ; +0x3e, 0x18003c04e\nucomiss xmm1, xmm0                                                     ; +0x44, 0x18003c054\njp      short loc_18003C06E                                            ; +0x47, 0x18003c057\njnz     short loc_18003C06E                                            ; +0x49, 0x18003c059\nmovss   xmm0, cs:flt_1800EC208                                         ; +0x4b, 0x18003c05b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x53, 0x18003c063\nadd     rsp, 30h                                                       ; +0x58, 0x18003c068\npop     rbx                                                            ; +0x5c, 0x18003c06c\nretn                                                                   ; +0x5d, 0x18003c06d\nmovss   xmm0, dword ptr [rbx+4]                                        ; +0x5e, 0x18003c06e\naddss   xmm0, dword ptr [rbx]                                          ; +0x63, 0x18003c073\ndivss   xmm0, xmm1; X                                                  ; +0x67, 0x18003c077\nmovss   xmm1, cs:flt_1800ED374; Y                                      ; +0x6b, 0x18003c07b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x73, 0x18003c083\nadd     rsp, 30h                                                       ; +0x78, 0x18003c088\npop     rbx                                                            ; +0x7c, 0x18003c08c\njmp     powf                                                           ; +0x7d, 0x18003c08d", "xrefs": ["<???> @ 0x1800f04c0", "<???> @ 0x18014cf68", "<???> @ 0x1801bb074"], "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"}