{"type": "func", "start": 6443037792, "end": 6443037859, "name": "cocos2d::CCSpriteBatchNode::updateBlendFunc", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::updateBlendFunc from 0x18008f460 to 0x18008f4a3 (67 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b61b0\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 __fastcall cocos2d::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *this)\n{\n  cocos2d::CCCamera *v2; // rax\n  bool isDirty; // al\n  GLenum v4; // edx\n\n  v2 = (cocos2d::CCCamera *)((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))this->m_pobTextureAtlas->getTexture)(this->m_pobTextureAtlas);\n  isDirty = cocos2d::CCCamera::isDirty(v2);\n  v4 = 770;\n  if ( isDirty )\n    v4 = 1;\n  this->m_blendFunc.src = v4;\n  this->m_blendFunc.dst = 771;\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::updateBlendFunc from 0x18008f460 to 0x18008f4a3 (67 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b61b0\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\npush    rbx                                                            ; +0x0, 0x18008f460\nsub     rsp, 20h                                                       ; +0x2, 0x18008f462\nmov     rbx, rcx                                                       ; +0x6, 0x18008f466\nmov     rcx, [rcx+148h]                                                ; +0x9, 0x18008f469\nmov     rax, [rcx]                                                     ; +0x10, 0x18008f470\ncall    qword ptr [rax+58h]                                            ; +0x13, 0x18008f473\nmov     rcx, rax; this                                                 ; +0x16, 0x18008f476\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x19, 0x18008f479\ntest    al, al                                                         ; +0x1e, 0x18008f47e\nmov     edx, 302h                                                      ; +0x20, 0x18008f480\nmov     ecx, 1                                                         ; +0x25, 0x18008f485\ncmovnz  edx, ecx                                                       ; +0x2a, 0x18008f48a\nmov     [rbx+150h], edx                                                ; +0x2d, 0x18008f48d\nmov     dword ptr [rbx+154h], 303h                                     ; +0x33, 0x18008f493\nadd     rsp, 20h                                                       ; +0x3d, 0x18008f49d\npop     rbx                                                            ; +0x41, 0x18008f4a1\nretn                                                                   ; +0x42, 0x18008f4a2", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b61b0"], "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"}