{"type": "func", "start": 6443036816, "end": 6443036984, "name": "cocos2d::CCSprite::isFrameDisplayed", "pseudocode": "// \n// cocos2d::CCSprite::isFrameDisplayed from 0x18008f090 to 0x18008f138 (168 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800f1d68\n// > <???> @ 0x1800f2250\n// > <???> @ 0x1800f2e00\n// > <???> @ 0x18010a240\n// > <???> @ 0x18010d258\n// > <???> @ 0x1801468fc\n// > <???> @ 0x18014690c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfeb0\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:22:07 +0000\n// \n\nbool __fastcall cocos2d::CCSprite::isFrameDisplayed(cocos2d::CCSprite *this, struct cocos2d::CCSpriteFrame *a2)\n{\n  struct cocos2d::CCTexture2D *Texture; // rax\n  __int64 v5; // rdi\n  int v6; // ebx\n  cocos2d::CCSize *PositionOffset; // rax\n  bool result; // al\n  _BYTE v9[24]; // [rsp+20h] [rbp-18h] BYREF\n\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (struct cocos2d::CCSpriteFrame *)((char *)a2 + 92));\n  result = false;\n  if ( cocos2d::CCRect::equals((cocos2d::CCRect *)v9, (cocos2d::CCSprite *)((char *)this + 424)) )\n  {\n    Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n    v5 = *((_QWORD *)this + 52);\n    v6 = (*(__int64 (__fastcall **)(struct cocos2d::CCTexture2D *))(*(_QWORD *)Texture + 96LL))(Texture);\n    if ( v6 == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v5 + 96LL))(v5) )\n    {\n      PositionOffset = cocos2d::CCTMXObjectGroup::getPositionOffset(a2);\n      if ( cocos2d::CCSize::equals(PositionOffset, (cocos2d::CCSprite *)((char *)this + 452)) )\n        return true;\n    }\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCSprite::isFrameDisplayed from 0x18008f090 to 0x18008f138 (168 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800f1d68\n; > <???> @ 0x1800f2250\n; > <???> @ 0x1800f2e00\n; > <???> @ 0x18010a240\n; > <???> @ 0x18010d258\n; > <???> @ 0x1801468fc\n; > <???> @ 0x18014690c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfeb0\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:22:07 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18008f090\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x18008f095\npush    rsi                                                            ; +0xa, 0x18008f09a\nsub     rsp, 30h                                                       ; +0xb, 0x18008f09b\nmov     rsi, rdx                                                       ; +0xf, 0x18008f09f\nmov     rbp, rcx                                                       ; +0x12, 0x18008f0a2\nadd     rdx, 5Ch ; '\\'; struct cocos2d::CCRect *                       ; +0x15, 0x18008f0a5\nlea     rcx, [rsp+38h+var_18]; this                                    ; +0x19, 0x18008f0a9\ncall    ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x1e, 0x18008f0ae\nlea     rdx, [rbp+1A8h]; struct cocos2d::CCRect *                      ; +0x23, 0x18008f0b3\nlea     rcx, [rsp+38h+var_18]; this                                    ; +0x2a, 0x18008f0ba\ncall    ?equals@CCRect@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCRect::equals(cocos2d::CCRect const &) ; +0x2f, 0x18008f0bf\ntest    al, al                                                         ; +0x34, 0x18008f0c4\njz      short loc_18008F126                                            ; +0x36, 0x18008f0c6\nmov     rcx, rsi; this                                                 ; +0x38, 0x18008f0c8\nmov     [rsp+38h+arg_0], rdi                                           ; +0x3b, 0x18008f0cb\ncall    ?getTexture@CCSpriteFrame@cocos2d@@QEAAPEAVCCTexture2D@2@XZ; cocos2d::CCSpriteFrame::getTexture(void) ; +0x40, 0x18008f0d0\nmov     rdi, [rbp+1A0h]                                                ; +0x45, 0x18008f0d5\nmov     rcx, rax                                                       ; +0x4c, 0x18008f0dc\nmov     rdx, [rax]                                                     ; +0x4f, 0x18008f0df\ncall    qword ptr [rdx+60h]                                            ; +0x52, 0x18008f0e2\nmov     rdx, [rdi]                                                     ; +0x55, 0x18008f0e5\nmov     rcx, rdi                                                       ; +0x58, 0x18008f0e8\nmov     ebx, eax                                                       ; +0x5b, 0x18008f0eb\ncall    qword ptr [rdx+60h]                                            ; +0x5d, 0x18008f0ed\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x60, 0x18008f0f0\ncmp     ebx, eax                                                       ; +0x65, 0x18008f0f5\njnz     short loc_18008F126                                            ; +0x67, 0x18008f0f7\nmov     rcx, rsi; this                                                 ; +0x69, 0x18008f0f9\ncall    ?getPositionOffset@CCTMXObjectGroup@cocos2d@@QEBAAEBVCCPoint@2@XZ; cocos2d::CCTMXObjectGroup::getPositionOffset(void) ; +0x6c, 0x18008f0fc\nmov     rcx, rax; this                                                 ; +0x71, 0x18008f101\nlea     rdx, [rbp+1C4h]; struct cocos2d::CCSize *                      ; +0x74, 0x18008f104\ncall    ?equals@CCSize@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCSize::equals(cocos2d::CCSize const &) ; +0x7b, 0x18008f10b\ntest    al, al                                                         ; +0x80, 0x18008f110\njz      short loc_18008F126                                            ; +0x82, 0x18008f112\nmov     al, 1                                                          ; +0x84, 0x18008f114\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x86, 0x18008f116\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x8b, 0x18008f11b\nadd     rsp, 30h                                                       ; +0x90, 0x18008f120\npop     rsi                                                            ; +0x94, 0x18008f124\nretn                                                                   ; +0x95, 0x18008f125\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x96, 0x18008f126\nxor     al, al                                                         ; +0x9b, 0x18008f12b\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x9d, 0x18008f12d\nadd     rsp, 30h                                                       ; +0xa2, 0x18008f132\npop     rsi                                                            ; +0xa6, 0x18008f136\nretn                                                                   ; +0xa7, 0x18008f137", "xrefs": ["<???> @ 0x1800f1d68", "<???> @ 0x1800f2250", "<???> @ 0x1800f2e00", "<???> @ 0x18010a240", "<???> @ 0x18010d258", "<???> @ 0x1801468fc", "<???> @ 0x18014690c", "<???> @ 0x18014cf68", "<???> @ 0x1801bfeb0"], "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"}