{"type": "func", "start": 4297450240, "end": 4297450336, "name": "GameObject::shouldShowPickupEffects", "pseudocode": "// \n// GameObject::shouldShowPickupEffects from 0x10025e300 to 0x10025e360 (96 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::destroyObject @ 0x100128969\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\nbool __fastcall GameObject::shouldShowPickupEffects(GameObject *a1)\n{\n  bool result; // al\n  char v2; // cl\n  cocos2d::CCSprite *m_colorSprite; // rdi\n\n  if ( a1->m_hasNoEffects || a1->m_isInvisible )\n    return 0;\n  v2 = ((__int64 (__fastcall *)(GameObject *))a1->getOpacity)(a1);\n  result = 1;\n  if ( !v2 )\n  {\n    m_colorSprite = a1->m_colorSprite;\n    return m_colorSprite\n        && ((unsigned __int8 (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->getOpacity)(m_colorSprite) != 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::shouldShowPickupEffects from 0x10025e300 to 0x10025e360 (96 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::destroyObject @ 0x100128969\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\ncmp     byte ptr [rdi+414h], 0                                         ; +0x0, 0x10025e300\njnz     short loc_10025E312                                            ; +0x7, 0x10025e307\ncmp     byte ptr [rdi+3E7h], 0                                         ; +0x9, 0x10025e309\njz      short loc_10025E315                                            ; +0x10, 0x10025e310\nxor     eax, eax                                                       ; +0x12, 0x10025e312\nretn                                                                   ; +0x14, 0x10025e314\npush    rbp                                                            ; +0x15, 0x10025e315\nmov     rbp, rsp                                                       ; +0x16, 0x10025e316\npush    rbx                                                            ; +0x19, 0x10025e319\npush    rax                                                            ; +0x1a, 0x10025e31a\nmov     rax, [rdi]                                                     ; +0x1b, 0x10025e31b\nmov     rbx, rdi                                                       ; +0x1e, 0x10025e31e\ncall    qword ptr [rax+370h]                                           ; +0x21, 0x10025e321\nmov     ecx, eax                                                       ; +0x27, 0x10025e327\nmov     al, 1                                                          ; +0x29, 0x10025e329\ntest    cl, cl                                                         ; +0x2b, 0x10025e32b\njz      short loc_10025E336                                            ; +0x2d, 0x10025e32d\nadd     rsp, 8                                                         ; +0x2f, 0x10025e32f\npop     rbx                                                            ; +0x33, 0x10025e333\npop     rbp                                                            ; +0x34, 0x10025e334\nretn                                                                   ; +0x35, 0x10025e335\nmov     rdi, [rbx+378h]                                                ; +0x36, 0x10025e336\ntest    rdi, rdi                                                       ; +0x3d, 0x10025e33d\njz      short loc_10025E357                                            ; +0x40, 0x10025e340\nmov     rax, [rdi]                                                     ; +0x42, 0x10025e342\ncall    qword ptr [rax+370h]                                           ; +0x45, 0x10025e345\ntest    al, al                                                         ; +0x4b, 0x10025e34b\nsetnz   al                                                             ; +0x4d, 0x10025e34d\nadd     rsp, 8                                                         ; +0x50, 0x10025e350\npop     rbx                                                            ; +0x54, 0x10025e354\npop     rbp                                                            ; +0x55, 0x10025e355\nretn                                                                   ; +0x56, 0x10025e356\nxor     eax, eax                                                       ; +0x57, 0x10025e357\nadd     rsp, 8                                                         ; +0x59, 0x10025e359\npop     rbx                                                            ; +0x5d, 0x10025e35d\npop     rbp                                                            ; +0x5e, 0x10025e35e\nretn                                                                   ; +0x5f, 0x10025e35f", "xrefs": ["GJBaseGameLayer::destroyObject @ 0x100128969"], "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"}